#D2CF4D#D2CF4D

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

Color values

HEX#D2CF4D
RGBrgb(210, 207, 77)
HSLhsl(59, 60%, 56%)
HSVhsv(59, 63%, 82%)
CMYKcmyk(0%, 1.4%, 63.3%, 17.6%)
CIE-LABlab(81.22, -14.79, 62.66)
CIE-LCHlch(81.22, 64.38, 103.28°)
OKLaboklab(83.3% -0.046 0.142)
OKLCHoklch(83.3% 0.149 108)
XYZxyz(50.2324, 58.8646, 15.7357)
Luminance0.5886 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CF4D #4D50D2
analogous
#D28D4D #D2CF4D #93D24D
triadic
#D2CF4D #4DD2CF #CF4DD2
tetradic
#D2CF4D #4DD28D #4D50D2 #D24D93
square
#D2CF4D #4DD28D #4D50D2 #D24D93
split-complementary
#D2CF4D #4D93D2 #8D4DD2
monochromatic
#838121 #B4B12E #D2CF4D #DEDC7E #EBE9AF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2CF4D#FFFFFF#000000##000000
##D2CF4D1.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)
#DFC73C
Deuteranopia (green-blind)
#E2CC55
Tritanopia (blue-blind)
#E0C2B4
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d2cf4d;
/* rgb */ color: rgb(210, 207, 77);
/* oklch */ color: oklch(83.3% 0.149 108.0);
Tailwind
colors: {
  custom: {
    50: '#e3dd85',
    500: '#d2cf4d',
    950: '#000000',
  },
}
SCSS
$custom: #d2cf4d;
$custom-light: #e3dd85;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cf4d",
  "rgb": {
    "r": 210,
    "g": 207,
    "b": 77
  },
  "hsl": {
    "h": 58.647,
    "s": 59.641,
    "l": 56.275
  },
  "oklch": {
    "l": 0.83298,
    "c": 0.14923,
    "h": 108
  },
  "luminance": 0.58863
}

Semantic roles & 50–950 ramp

primary
#D2CF4D
secondary
#393B8A
accent
#49E345
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D2CF4D

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

Preview Lab → · Contrast checker → · Palette generator →

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