#D9CE54#D9CE54

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

Color values

HEX#D9CE54
RGBrgb(217, 206, 84)
HSLhsl(55, 64%, 59%)
HSVhsv(55, 61%, 85%)
CMYKcmyk(0%, 5.1%, 61.3%, 14.9%)
CIE-LABlab(81.59, -10.93, 60.30)
CIE-LCHlch(81.59, 61.28, 100.28°)
OKLaboklab(83.75% -0.0348 0.1378)
OKLCHoklch(83.75% 0.142 104.2)
XYZxyz(52.2887, 59.5363, 17.1231)
Luminance0.5953 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CE54 #545FD9
analogous
#D98C54 #D9CE54 #A1D954
triadic
#D9CE54 #54D9CE #CE54D9
tetradic
#D9CE54 #54D98C #545FD9 #D954A1
square
#D9CE54 #54D98C #545FD9 #D954A1
split-complementary
#D9CE54 #54A1D9 #8C54D9
monochromatic
#928920 #C4B82C #D9CE54 #E4DC86 #EFEBB8

Accessibility & contrast

On white

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

On black

12.91
#D9CE54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9CE54
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9CE54#FFFFFF#000000##000000
##D9CE541.001.6312.9112.91
#FFFFFF1.631.0021.0021.00
#00000012.9121.001.001.00
##00000012.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC746
Deuteranopia (green-blind)
#E3CD5B
Tritanopia (blue-blind)
#E8C1B4
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d9ce54;
/* rgb */ color: rgb(217, 206, 84);
/* oklch */ color: oklch(83.7% 0.142 104.2);
Tailwind
colors: {
  custom: {
    50: '#e8dc89',
    500: '#d9ce54',
    950: '#000000',
  },
}
SCSS
$custom: #d9ce54;
$custom-light: #e8dc89;
$custom-dark: #000000;
JSON
{
  "hex": "#d9ce54",
  "rgb": {
    "r": 217,
    "g": 206,
    "b": 84
  },
  "hsl": {
    "h": 55.038,
    "s": 63.636,
    "l": 59.02
  },
  "oklch": {
    "l": 0.83749,
    "c": 0.14209,
    "h": 104.2
  },
  "luminance": 0.59534
}

Semantic roles & 50–950 ramp

primary
#D9CE54
secondary
#3A4297
accent
#4FE741
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D9CE54

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

Preview Lab → · Contrast checker → · Palette generator →

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