#D2CF4C#D2CF4C

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

Color values

HEX#D2CF4C
RGBrgb(210, 207, 76)
HSLhsl(59, 60%, 56%)
HSVhsv(59, 64%, 82%)
CMYKcmyk(0%, 1.4%, 63.8%, 17.6%)
CIE-LABlab(81.21, -14.85, 63.06)
CIE-LCHlch(81.21, 64.78, 103.25°)
OKLaboklab(83.29% -0.0463 0.1426)
OKLCHoklch(83.29% 0.15 108)
XYZxyz(50.1974, 58.8506, 15.5512)
Luminance0.5885 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CF4C #4C4FD2
analogous
#D28C4C #D2CF4C #92D24C
triadic
#D2CF4C #4CD2CF #CF4CD2
tetradic
#D2CF4C #4CD28C #4C4FD2 #D24C92
square
#D2CF4C #4CD28C #4C4FD2 #D24C92
split-complementary
#D2CF4C #4C92D2 #8C4CD2
monochromatic
#838121 #B4B12D #D2CF4C #DEDC7D #EBE9AE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2CF4C#FFFFFF#000000##000000
##D2CF4C1.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)
#DFC73B
Deuteranopia (green-blind)
#E2CC54
Tritanopia (blue-blind)
#E0C2B4
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d2cf4c;
/* rgb */ color: rgb(210, 207, 76);
/* oklch */ color: oklch(83.3% 0.150 108.0);
Tailwind
colors: {
  custom: {
    50: '#e3dd84',
    500: '#d2cf4c',
    950: '#000000',
  },
}
SCSS
$custom: #d2cf4c;
$custom-light: #e3dd84;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cf4c",
  "rgb": {
    "r": 210,
    "g": 207,
    "b": 76
  },
  "hsl": {
    "h": 58.657,
    "s": 59.821,
    "l": 56.078
  },
  "oklch": {
    "l": 0.8329,
    "c": 0.14997,
    "h": 108
  },
  "luminance": 0.58849
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2CF4C

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

Preview Lab → · Contrast checker → · Palette generator →

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