#D8CA57#D8CA57

#D8CA57 is a very light, vivid yellow. Relative luminance 0.575; OKLCH L 82.9% C 0.136 H 102.4°. Best body text is #000000 at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#D8CA57
RGBrgb(216, 202, 87)
HSLhsl(53, 62%, 59%)
HSVhsv(53, 60%, 85%)
CMYKcmyk(0%, 6.5%, 59.7%, 15.3%)
CIE-LABlab(80.48, -9.12, 57.76)
CIE-LCHlch(80.48, 58.47, 98.97°)
OKLaboklab(82.86% -0.0292 0.1328)
OKLCHoklch(82.86% 0.136 102.4)
XYZxyz(51.1616, 57.5301, 17.4244)
Luminance0.5753 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CA57 #5765D8
analogous
#D88957 #D8CA57 #A6D857
triadic
#D8CA57 #57D8CA #CA57D8
tetradic
#D8CA57 #57D889 #5765D8 #D857A6
square
#D8CA57 #57D889 #5765D8 #D857A6
split-complementary
#D8CA57 #57A6D8 #8957D8
monochromatic
#938622 #C4B42E #D8CA57 #E4DA89 #EFE9BA

Accessibility & contrast

On white

1.68
#D8CA57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.51
#D8CA57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CA57
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CA57#FFFFFF#000000##000000
##D8CA571.001.6812.5112.51
#FFFFFF1.681.0021.0021.00
#00000012.5121.001.001.00
##00000012.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC44A
Deuteranopia (green-blind)
#DFCB5D
Tritanopia (blue-blind)
#E7BDB1
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d8ca57;
/* rgb */ color: rgb(216, 202, 87);
/* oklch */ color: oklch(82.9% 0.136 102.4);
Tailwind
colors: {
  custom: {
    50: '#e7d98b',
    500: '#d8ca57',
    950: '#000000',
  },
}
SCSS
$custom: #d8ca57;
$custom-light: #e7d98b;
$custom-dark: #000000;
JSON
{
  "hex": "#d8ca57",
  "rgb": {
    "r": 216,
    "g": 202,
    "b": 87
  },
  "hsl": {
    "h": 53.488,
    "s": 62.319,
    "l": 59.412
  },
  "oklch": {
    "l": 0.82856,
    "c": 0.13597,
    "h": 102.4
  },
  "luminance": 0.57528
}

Semantic roles & 50–950 ramp

primary
#D8CA57
secondary
#3C4698
accent
#54E542
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D8CA57

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

Preview Lab → · Contrast checker → · Palette generator →

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