Nerdulator> put something in

Recognised as Colour

#D2CC51

  • #D2CC51
  • Yellow
  • Light
  • Nearest: Khaki

#D2CC51 is a yellow with RGB values 210, 204, 81 and HSL 57°, 59%, 57%. It is a light colour, so black text on it reaches 12.5:1 contrast (AAA for normal text). The nearest named colour is Khaki.

Colour values

#D2CC51#D2CC51
HEX#D2CC51
RGBrgb(210, 204, 81)
RGB (0–1)0.8235, 0.8, 0.3176
RGB percentages82.4%, 80%, 31.8%
HSLhsl(57.2, 58.9%, 57.1%)
HSV / HSBhsv(57.2, 61.4%, 82.4%)
CMYK0%, 2.9%, 61.4%, 17.6%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer13,814,865
CSS custom property--colour: #D2CC51;

Brightness & contrast

Relative luminance0.57481WCAG 2.x, 0 is black and 1 is white
Perceived brightness195.9 of 255ITU-R BT.601 weighting
Light or darkLight
Best text colour on this backgroundBlackcontrast 12.5:1
Contrast with white1.68:1WCAG normal text: Fail
Contrast with black12.5:1WCAG normal text: AAA
Greyscale equivalent#C4C4C4
Inverted#2D33AE

Colour vision & accessibility

Protanopia#DCC542no red cones; affects about 1% of men; ΔE 8.7 from the original
Deuteranopia#DFCA58no green cones; the most common form, about 1% of men; ΔE 7.2 from the original
Tritanopia#E0BFB2no blue cones; rare, and affects men and women equally; ΔE 54.3 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text1.68:1WCAG large text: Fail
Contrast with black, large text12.5:1WCAG large text: AAA

Named colours

Nearest named CSS colourKhaki (#F0E68C)ΔE 18.57, a distinctly different colour
Hue familyyellow
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#5157D2
Analogous#D28C51, #97D251
Triadic#51D2CC, #CC51D2
Split complementary#5198D2, #8B51D2
Tetradic#51D28C, #5157D2, #D25198

Tints, shades & saturation

Lighter +40%#FCFCF3
Lighter +30%#F1F0CB
Lighter +20%#E7E4A2
Lighter +10%#DCD87A
Darker −10%#BFB831
Darker −20%#969127
Darker −30%#6E6A1C
Darker −40%#454312
More saturated +25%#EDE536
Less saturated −25%#B7B36C

Channel breakdown

R210
G204
B81
Red210 (82.4%)
Green204 (80%)
Blue81 (31.8%)
Hue57.21°
Saturation (HSL)58.9%
Lightness57.06%
Dominant channelRed
Hex per channelR D2 · G CC · B 51

Keep nerding

Every link below is a page Nerdulator can generate from what it already knows about this value.

Nerdulate something else

Nothing in mind? Surprise me · today’s page

Every value on this page was computed from “d2cc51” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.