#D2CF54#D2CF54

#D2CF54 is a very light, vivid yellow. Relative luminance 0.590; OKLCH L 83.4% C 0.144 H 107.8°. Best body text is #000000 at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#D2CF54
RGBrgb(210, 207, 84)
HSLhsl(59, 58%, 58%)
HSVhsv(59, 60%, 82%)
CMYKcmyk(0%, 1.4%, 60%, 17.6%)
CIE-LABlab(81.27, -14.34, 59.79)
CIE-LCHlch(81.27, 61.49, 103.48°)
OKLaboklab(83.36% -0.044 0.1369)
OKLCHoklch(83.36% 0.144 107.8)
XYZxyz(50.4930, 58.9689, 17.1081)
Luminance0.5897 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CF54 #5457D2
analogous
#D29054 #D2CF54 #96D254
triadic
#D2CF54 #54D2CF #CF54D2
tetradic
#D2CF54 #54D290 #5457D2 #D25496
square
#D2CF54 #54D290 #5457D2 #D25496
split-complementary
#D2CF54 #5496D2 #9054D2
monochromatic
#888524 #B8B531 #D2CF54 #DFDD84 #EBEAB5

Accessibility & contrast

On white

1.64
#D2CF54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.79
#D2CF54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CF54
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CF54#FFFFFF#000000##000000
##D2CF541.001.6412.7912.79
#FFFFFF1.641.0021.0021.00
#00000012.7921.001.001.00
##00000012.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC746
Deuteranopia (green-blind)
#E1CC5B
Tritanopia (blue-blind)
#E0C3B5
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d2cf54;
/* rgb */ color: rgb(210, 207, 84);
/* oklch */ color: oklch(83.4% 0.144 107.8);
Tailwind
colors: {
  custom: {
    50: '#e3dd89',
    500: '#d2cf54',
    950: '#000000',
  },
}
SCSS
$custom: #d2cf54;
$custom-light: #e3dd89;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cf54",
  "rgb": {
    "r": 210,
    "g": 207,
    "b": 84
  },
  "hsl": {
    "h": 58.571,
    "s": 58.333,
    "l": 57.647
  },
  "oklch": {
    "l": 0.83362,
    "c": 0.14377,
    "h": 107.8
  },
  "luminance": 0.58967
}

Semantic roles & 50–950 ramp

primary
#D2CF54
secondary
#3C3E8E
accent
#4AE246
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2CF54

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#D2CF54 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva