#D8CE57#D8CE57

#D8CE57 is a very light, vivid yellow. Relative luminance 0.594; OKLCH L 83.7% C 0.140 H 104.5°. Best body text is #000000 at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#D8CE57
RGBrgb(216, 206, 87)
HSLhsl(55, 62%, 59%)
HSVhsv(55, 60%, 85%)
CMYKcmyk(0%, 4.6%, 59.7%, 15.3%)
CIE-LABlab(81.53, -11.15, 58.91)
CIE-LCHlch(81.53, 59.96, 100.71°)
OKLaboklab(83.69% -0.035 0.1353)
OKLCHoklch(83.69% 0.14 104.5)
XYZxyz(52.1123, 59.4315, 17.7413)
Luminance0.5943 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CE57 #5761D8
analogous
#D88E57 #D8CE57 #A2D857
triadic
#D8CE57 #57D8CE #CE57D8
tetradic
#D8CE57 #57D88E #5761D8 #D857A2
square
#D8CE57 #57D88E #5761D8 #D857A2
split-complementary
#D8CE57 #57A2D8 #8E57D8
monochromatic
#938A22 #C4B92E #D8CE57 #E4DC89 #EFEBBA

Accessibility & contrast

On white

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

On black

12.89
#D8CE57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CE57
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CE57#FFFFFF#000000##000000
##D8CE571.001.6312.8912.89
#FFFFFF1.631.0021.0021.00
#00000012.8921.001.001.00
##00000012.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8ce57;
/* rgb */ color: rgb(216, 206, 87);
/* oklch */ color: oklch(83.7% 0.140 104.5);
Tailwind
colors: {
  custom: {
    50: '#e7dc8b',
    500: '#d8ce57',
    950: '#000000',
  },
}
SCSS
$custom: #d8ce57;
$custom-light: #e7dc8b;
$custom-dark: #000000;
JSON
{
  "hex": "#d8ce57",
  "rgb": {
    "r": 216,
    "g": 206,
    "b": 87
  },
  "hsl": {
    "h": 55.349,
    "s": 62.319,
    "l": 59.412
  },
  "oklch": {
    "l": 0.83692,
    "c": 0.13971,
    "h": 104.5
  },
  "luminance": 0.5943
}

Semantic roles & 50–950 ramp

primary
#D8CE57
secondary
#3C4398
accent
#4FE542
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D8CE57

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

Preview Lab → · Contrast checker → · Palette generator →

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