#D9CE52#D9CE52

#D9CE52 is a very light, vivid yellow. Relative luminance 0.595; OKLCH L 83.7% C 0.144 H 104.2°. Best body text is #000000 at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#D9CE52
RGBrgb(217, 206, 82)
HSLhsl(55, 64%, 59%)
HSVhsv(55, 62%, 85%)
CMYKcmyk(0%, 5.1%, 62.2%, 14.9%)
CIE-LABlab(81.57, -11.06, 61.13)
CIE-LCHlch(81.57, 62.12, 100.26°)
OKLaboklab(83.73% -0.0354 0.1393)
OKLCHoklch(83.73% 0.144 104.2)
XYZxyz(52.2115, 59.5054, 16.7164)
Luminance0.5950 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CE52 #525DD9
analogous
#D98A52 #D9CE52 #A0D952
triadic
#D9CE52 #52D9CE #CE52D9
tetradic
#D9CE52 #52D98A #525DD9 #D952A0
square
#D9CE52 #52D98A #525DD9 #D952A0
split-complementary
#D9CE52 #52A0D9 #8A52D9
monochromatic
#918820 #C3B72B #D9CE52 #E4DC84 #EFEAB6

Accessibility & contrast

On white

1.63
#D9CE52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.90
#D9CE52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9CE52
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9CE52#FFFFFF#000000##000000
##D9CE521.001.6312.9012.90
#FFFFFF1.631.0021.0021.00
#00000012.9021.001.001.00
##00000012.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC743
Deuteranopia (green-blind)
#E3CD59
Tritanopia (blue-blind)
#E8C1B4
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d9ce52;
/* rgb */ color: rgb(217, 206, 82);
/* oklch */ color: oklch(83.7% 0.144 104.2);
Tailwind
colors: {
  custom: {
    50: '#e8dc88',
    500: '#d9ce52',
    950: '#000000',
  },
}
SCSS
$custom: #d9ce52;
$custom-light: #e8dc88;
$custom-dark: #000000;
JSON
{
  "hex": "#d9ce52",
  "rgb": {
    "r": 217,
    "g": 206,
    "b": 82
  },
  "hsl": {
    "h": 55.111,
    "s": 63.981,
    "l": 58.627
  },
  "oklch": {
    "l": 0.8373,
    "c": 0.14368,
    "h": 104.2
  },
  "luminance": 0.59504
}

Semantic roles & 50–950 ramp

primary
#D9CE52
secondary
#394196
accent
#4EE741
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D9CE52

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

Preview Lab → · Contrast checker → · Palette generator →

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