#D9CE57#D9CE57

#D9CE57 is a very light, vivid yellow. Relative luminance 0.596; OKLCH L 83.8% C 0.140 H 104.0°. Best body text is #000000 at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#D9CE57
RGBrgb(217, 206, 87)
HSLhsl(55, 63%, 60%)
HSVhsv(55, 60%, 85%)
CMYKcmyk(0%, 5.1%, 59.9%, 14.9%)
CIE-LABlab(81.61, -10.73, 59.03)
CIE-LCHlch(81.61, 60.00, 100.30°)
OKLaboklab(83.78% -0.0339 0.1355)
OKLCHoklch(83.78% 0.14 104)
XYZxyz(52.4087, 59.5843, 17.7552)
Luminance0.5958 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CE57 #5762D9
analogous
#D98D57 #D9CE57 #A3D957
triadic
#D9CE57 #57D9CE #CE57D9
tetradic
#D9CE57 #57D98D #5762D9 #D957A3
square
#D9CE57 #57D98D #5762D9 #D957A3
split-complementary
#D9CE57 #57A3D9 #8D57D9
monochromatic
#948A21 #C6B92D #D9CE57 #E4DD89 #F0EBBB

Accessibility & contrast

On white

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

On black

12.92
#D9CE57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9CE57
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9CE57#FFFFFF#000000##000000
##D9CE571.001.6312.9212.92
#FFFFFF1.631.0021.0021.00
#00000012.9221.001.001.00
##00000012.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d9ce57;
/* rgb */ color: rgb(217, 206, 87);
/* oklch */ color: oklch(83.8% 0.140 104.0);
Tailwind
colors: {
  custom: {
    50: '#e8dc8b',
    500: '#d9ce57',
    950: '#000000',
  },
}
SCSS
$custom: #d9ce57;
$custom-light: #e8dc8b;
$custom-dark: #000000;
JSON
{
  "hex": "#d9ce57",
  "rgb": {
    "r": 217,
    "g": 206,
    "b": 87
  },
  "hsl": {
    "h": 54.923,
    "s": 63.107,
    "l": 59.608
  },
  "oklch": {
    "l": 0.83778,
    "c": 0.13966,
    "h": 104
  },
  "luminance": 0.59582
}

Semantic roles & 50–950 ramp

primary
#D9CE57
secondary
#3B4399
accent
#50E642
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D9CE57

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

Preview Lab → · Contrast checker → · Palette generator →

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