#D2CF4F#D2CF4F

#D2CF4F is a very light, vivid yellow. Relative luminance 0.589; OKLCH L 83.3% C 0.148 H 107.9°. Best body text is #000000 at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#D2CF4F
RGBrgb(210, 207, 79)
HSLhsl(59, 59%, 57%)
HSVhsv(59, 62%, 82%)
CMYKcmyk(0%, 1.4%, 62.4%, 17.6%)
CIE-LABlab(81.23, -14.66, 61.85)
CIE-LCHlch(81.23, 63.57, 103.34°)
OKLaboklab(83.32% -0.0455 0.1405)
OKLCHoklch(83.32% 0.148 107.9)
XYZxyz(50.3041, 58.8933, 16.1133)
Luminance0.5889 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CF4F #4F52D2
analogous
#D28E4F #D2CF4F #94D24F
triadic
#D2CF4F #4FD2CF #CF4FD2
tetradic
#D2CF4F #4FD28E #4F52D2 #D24F94
square
#D2CF4F #4FD28E #4F52D2 #D24F94
split-complementary
#D2CF4F #4F94D2 #8E4FD2
monochromatic
#858222 #B5B22E #D2CF4F #DEDC80 #EBEAB0

Accessibility & contrast

On white

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

On black

12.78
#D2CF4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CF4F
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CF4F#FFFFFF#000000##000000
##D2CF4F1.001.6412.7812.78
#FFFFFF1.641.0021.0021.00
#00000012.7821.001.001.00
##00000012.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC73F
Deuteranopia (green-blind)
#E1CC57
Tritanopia (blue-blind)
#E0C2B4
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d2cf4f;
/* rgb */ color: rgb(210, 207, 79);
/* oklch */ color: oklch(83.3% 0.148 107.9);
Tailwind
colors: {
  custom: {
    50: '#e3dd86',
    500: '#d2cf4f',
    950: '#000000',
  },
}
SCSS
$custom: #d2cf4f;
$custom-light: #e3dd86;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cf4f",
  "rgb": {
    "r": 210,
    "g": 207,
    "b": 79
  },
  "hsl": {
    "h": 58.626,
    "s": 59.276,
    "l": 56.667
  },
  "oklch": {
    "l": 0.83316,
    "c": 0.14772,
    "h": 107.9
  },
  "luminance": 0.58892
}

Semantic roles & 50–950 ramp

primary
#D2CF4F
secondary
#3A3C8C
accent
#49E245
background
#FEFEFC
surface
#FDFCF3
border
#D5D5CD
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2CF4F

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

Preview Lab → · Contrast checker → · Palette generator →

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