#D9CF52#D9CF52

#D9CF52 is a very light, vivid yellow. Relative luminance 0.600; OKLCH L 83.9% C 0.145 H 104.7°. Best body text is #000000 at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#D9CF52
RGBrgb(217, 207, 82)
HSLhsl(56, 64%, 59%)
HSVhsv(56, 62%, 85%)
CMYKcmyk(0%, 4.6%, 62.2%, 14.9%)
CIE-LABlab(81.83, -11.57, 61.41)
CIE-LCHlch(81.83, 62.49, 100.67°)
OKLaboklab(83.94% -0.0368 0.1399)
OKLCHoklch(83.94% 0.145 104.7)
XYZxyz(52.4530, 59.9884, 16.7969)
Luminance0.5999 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CF52 #525CD9
analogous
#D98B52 #D9CF52 #9FD952
triadic
#D9CF52 #52D9CF #CF52D9
tetradic
#D9CF52 #52D98B #525CD9 #D9529F
square
#D9CF52 #52D98B #525CD9 #D9529F
split-complementary
#D9CF52 #529FD9 #8B52D9
monochromatic
#918820 #C3B82B #D9CF52 #E4DD84 #EFEBB6

Accessibility & contrast

On white

1.62
#D9CF52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.00
#D9CF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9CF52
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9CF52#FFFFFF#000000##000000
##D9CF521.001.6213.0013.00
#FFFFFF1.621.0021.0021.00
#00000013.0021.001.001.00
##00000013.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C843
Deuteranopia (green-blind)
#E4CE59
Tritanopia (blue-blind)
#E8C2B5
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d9cf52;
/* rgb */ color: rgb(217, 207, 82);
/* oklch */ color: oklch(83.9% 0.145 104.7);
Tailwind
colors: {
  custom: {
    50: '#e8dd88',
    500: '#d9cf52',
    950: '#000000',
  },
}
SCSS
$custom: #d9cf52;
$custom-light: #e8dd88;
$custom-dark: #000000;
JSON
{
  "hex": "#d9cf52",
  "rgb": {
    "r": 217,
    "g": 207,
    "b": 82
  },
  "hsl": {
    "h": 55.556,
    "s": 63.981,
    "l": 58.627
  },
  "oklch": {
    "l": 0.8394,
    "c": 0.14462,
    "h": 104.7
  },
  "luminance": 0.59987
}

Semantic roles & 50–950 ramp

primary
#D9CF52
secondary
#394096
accent
#4DE741
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D9CF52

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

Preview Lab → · Contrast checker → · Palette generator →

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