#D9CD57#D9CD57

#D9CD57 is a very light, vivid yellow. Relative luminance 0.591; OKLCH L 83.6% C 0.139 H 103.5°. Best body text is #000000 at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#D9CD57
RGBrgb(217, 205, 87)
HSLhsl(54, 63%, 60%)
HSVhsv(54, 60%, 85%)
CMYKcmyk(0%, 5.5%, 59.9%, 14.9%)
CIE-LABlab(81.35, -10.23, 58.74)
CIE-LCHlch(81.35, 59.62, 99.88°)
OKLaboklab(83.57% -0.0324 0.1349)
OKLCHoklch(83.57% 0.139 103.5)
XYZxyz(52.1688, 59.1044, 17.6753)
Luminance0.5910 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CD57 #5763D9
analogous
#D98C57 #D9CD57 #A4D957
triadic
#D9CD57 #57D9CD #CD57D9
tetradic
#D9CD57 #57D98C #5763D9 #D957A4
square
#D9CD57 #57D98C #5763D9 #D957A4
split-complementary
#D9CD57 #57A4D9 #8C57D9
monochromatic
#948A21 #C6B82D #D9CD57 #E4DC89 #F0EBBB

Accessibility & contrast

On white

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

On black

12.82
#D9CD57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9CD57
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9CD57#FFFFFF#000000##000000
##D9CD571.001.6412.8212.82
#FFFFFF1.641.0021.0021.00
#00000012.8221.001.001.00
##00000012.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC74A
Deuteranopia (green-blind)
#E2CD5D
Tritanopia (blue-blind)
#E8C0B4
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d9cd57;
/* rgb */ color: rgb(217, 205, 87);
/* oklch */ color: oklch(83.6% 0.139 103.5);
Tailwind
colors: {
  custom: {
    50: '#e8dc8b',
    500: '#d9cd57',
    950: '#000000',
  },
}
SCSS
$custom: #d9cd57;
$custom-light: #e8dc8b;
$custom-dark: #000000;
JSON
{
  "hex": "#d9cd57",
  "rgb": {
    "r": 217,
    "g": 205,
    "b": 87
  },
  "hsl": {
    "h": 54.462,
    "s": 63.107,
    "l": 59.608
  },
  "oklch": {
    "l": 0.8357,
    "c": 0.13871,
    "h": 103.5
  },
  "luminance": 0.59102
}

Semantic roles & 50–950 ramp

primary
#D9CD57
secondary
#3B4499
accent
#51E642
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D9CD57

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

Preview Lab → · Contrast checker → · Palette generator →

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