#D9CC57#D9CC57

#D9CC57 is a very light, vivid yellow. Relative luminance 0.586; OKLCH L 83.4% C 0.138 H 103.0°. Best body text is #000000 at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#D9CC57
RGBrgb(217, 204, 87)
HSLhsl(54, 63%, 60%)
HSVhsv(54, 60%, 85%)
CMYKcmyk(0%, 6%, 59.9%, 14.9%)
CIE-LABlab(81.09, -9.72, 58.45)
CIE-LCHlch(81.09, 59.25, 99.44°)
OKLaboklab(83.36% -0.031 0.1343)
OKLCHoklch(83.36% 0.138 103)
XYZxyz(51.9303, 58.6275, 17.5958)
Luminance0.5863 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CC57 #5764D9
analogous
#D98B57 #D9CC57 #A5D957
triadic
#D9CC57 #57D9CC #CC57D9
tetradic
#D9CC57 #57D98B #5764D9 #D957A5
square
#D9CC57 #57D98B #5764D9 #D957A5
split-complementary
#D9CC57 #57A5D9 #8B57D9
monochromatic
#948921 #C6B72D #D9CC57 #E4DB89 #F0EABB

Accessibility & contrast

On white

1.65
#D9CC57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.73
#D9CC57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9CC57
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9CC57#FFFFFF#000000##000000
##D9CC571.001.6512.7312.73
#FFFFFF1.651.0021.0021.00
#00000012.7321.001.001.00
##00000012.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC64A
Deuteranopia (green-blind)
#E1CC5D
Tritanopia (blue-blind)
#E8BFB3
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d9cc57;
/* rgb */ color: rgb(217, 204, 87);
/* oklch */ color: oklch(83.4% 0.138 103.0);
Tailwind
colors: {
  custom: {
    50: '#e8db8b',
    500: '#d9cc57',
    950: '#000000',
  },
}
SCSS
$custom: #d9cc57;
$custom-light: #e8db8b;
$custom-dark: #000000;
JSON
{
  "hex": "#d9cc57",
  "rgb": {
    "r": 217,
    "g": 204,
    "b": 87
  },
  "hsl": {
    "h": 54,
    "s": 63.107,
    "l": 59.608
  },
  "oklch": {
    "l": 0.83361,
    "c": 0.13779,
    "h": 103
  },
  "luminance": 0.58626
}

Semantic roles & 50–950 ramp

primary
#D9CC57
secondary
#3B4599
accent
#52E642
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D9CC57

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

Preview Lab → · Contrast checker → · Palette generator →

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