#D2CF4B#D2CF4B

#D2CF4B is a very light, vivid yellow. Relative luminance 0.588; OKLCH L 83.3% C 0.151 H 108.0°. Best body text is #000000 at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#D2CF4B
RGBrgb(210, 207, 75)
HSLhsl(59, 60%, 56%)
HSVhsv(59, 64%, 82%)
CMYKcmyk(0%, 1.4%, 64.3%, 17.6%)
CIE-LABlab(81.20, -14.91, 63.45)
CIE-LCHlch(81.20, 65.18, 103.22°)
OKLaboklab(83.28% -0.0466 0.1433)
OKLCHoklch(83.28% 0.151 108)
XYZxyz(50.1629, 58.8368, 15.3695)
Luminance0.5884 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CF4B #4B4ED2
analogous
#D28B4B #D2CF4B #91D24B
triadic
#D2CF4B #4BD2CF #CF4BD2
tetradic
#D2CF4B #4BD28B #4B4ED2 #D24B91
square
#D2CF4B #4BD28B #4B4ED2 #D24B91
split-complementary
#D2CF4B #4B91D2 #8B4BD2
monochromatic
#828021 #B3B02D #D2CF4B #DEDC7C #EAE9AD

Accessibility & contrast

On white

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

On black

12.77
#D2CF4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CF4B
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CF4B#FFFFFF#000000##000000
##D2CF4B1.001.6412.7712.77
#FFFFFF1.641.0021.0021.00
#00000012.7721.001.001.00
##00000012.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2cf4b;
/* rgb */ color: rgb(210, 207, 75);
/* oklch */ color: oklch(83.3% 0.151 108.0);
Tailwind
colors: {
  custom: {
    50: '#e3dd84',
    500: '#d2cf4b',
    950: '#000000',
  },
}
SCSS
$custom: #d2cf4b;
$custom-light: #e3dd84;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cf4b",
  "rgb": {
    "r": 210,
    "g": 207,
    "b": 75
  },
  "hsl": {
    "h": 58.667,
    "s": 60,
    "l": 55.882
  },
  "oklch": {
    "l": 0.83281,
    "c": 0.1507,
    "h": 108
  },
  "luminance": 0.58835
}

Semantic roles & 50–950 ramp

primary
#D2CF4B
secondary
#383A89
accent
#48E345
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D2CF4B

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

Preview Lab → · Contrast checker → · Palette generator →

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