#D8CE5A#D8CE5A

#D8CE5A is a very light, vivid yellow. Relative luminance 0.595; OKLCH L 83.7% C 0.137 H 104.4°. Best body text is #000000 at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#D8CE5A
RGBrgb(216, 206, 90)
HSLhsl(55, 62%, 60%)
HSVhsv(55, 58%, 85%)
CMYKcmyk(0%, 4.6%, 58.3%, 15.3%)
CIE-LABlab(81.56, -10.94, 57.63)
CIE-LCHlch(81.56, 58.65, 100.75°)
OKLaboklab(83.72% -0.0341 0.1329)
OKLCHoklch(83.72% 0.137 104.4)
XYZxyz(52.2374, 59.4815, 18.4003)
Luminance0.5948 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CE5A #5A64D8
analogous
#D88F5A #D8CE5A #A3D85A
triadic
#D8CE5A #5AD8CE #CE5AD8
tetradic
#D8CE5A #5AD88F #5A64D8 #D85AA3
square
#D8CE5A #5AD88F #5A64D8 #D85AA3
split-complementary
#D8CE5A #5AA3D8 #8F5AD8
monochromatic
#958C23 #C6BA2F #D8CE5A #E4DD8B #EFEBBD

Accessibility & contrast

On white

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

On black

12.90
#D8CE5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CE5A
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CE5A#FFFFFF#000000##000000
##D8CE5A1.001.6312.9012.90
#FFFFFF1.631.0021.0021.00
#00000012.9021.001.001.00
##00000012.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC74D
Deuteranopia (green-blind)
#E2CD60
Tritanopia (blue-blind)
#E7C1B5
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d8ce5a;
/* rgb */ color: rgb(216, 206, 90);
/* oklch */ color: oklch(83.7% 0.137 104.4);
Tailwind
colors: {
  custom: {
    50: '#e7dc8d',
    500: '#d8ce5a',
    950: '#000000',
  },
}
SCSS
$custom: #d8ce5a;
$custom-light: #e7dc8d;
$custom-dark: #000000;
JSON
{
  "hex": "#d8ce5a",
  "rgb": {
    "r": 216,
    "g": 206,
    "b": 90
  },
  "hsl": {
    "h": 55.238,
    "s": 61.765,
    "l": 60
  },
  "oklch": {
    "l": 0.83722,
    "c": 0.1372,
    "h": 104.4
  },
  "luminance": 0.5948
}

Semantic roles & 50–950 ramp

primary
#D8CE5A
secondary
#3D4499
accent
#50E543
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D8CE5A

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

Preview Lab → · Contrast checker → · Palette generator →

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