#D9CE40#D9CE40

#D9CE40 is a very light, vivid yellow. Relative luminance 0.593; OKLCH L 83.6% C 0.156 H 104.9°. Best body text is #000000 at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#D9CE40
RGBrgb(217, 206, 64)
HSLhsl(56, 67%, 55%)
HSVhsv(56, 71%, 85%)
CMYKcmyk(0%, 5.1%, 70.5%, 14.9%)
CIE-LABlab(81.44, -12.07, 68.09)
CIE-LCHlch(81.44, 69.16, 100.05°)
OKLaboklab(83.58% -0.0401 0.1511)
OKLCHoklch(83.58% 0.156 104.9)
XYZxyz(51.6141, 59.2665, 13.5703)
Luminance0.5926 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CE40 #404BD9
analogous
#D98140 #D9CE40 #98D940
triadic
#D9CE40 #40D9CE #CE40D9
tetradic
#D9CE40 #40D981 #404BD9 #D94098
square
#D9CE40 #40D981 #404BD9 #D94098
split-complementary
#D9CE40 #4098D9 #8140D9
monochromatic
#847D1A #B7AD24 #D9CE40 #E3DB73 #EDE8A6

Accessibility & contrast

On white

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

On black

12.85
#D9CE40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9CE40
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9CE40#FFFFFF#000000##000000
##D9CE401.001.6312.8512.85
#FFFFFF1.631.0021.0021.00
#00000012.8521.001.001.00
##00000012.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C728
Deuteranopia (green-blind)
#E4CD4A
Tritanopia (blue-blind)
#E9C0B2
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d9ce40;
/* rgb */ color: rgb(217, 206, 64);
/* oklch */ color: oklch(83.6% 0.156 104.9);
Tailwind
colors: {
  custom: {
    50: '#e8dc7e',
    500: '#d9ce40',
    950: '#000000',
  },
}
SCSS
$custom: #d9ce40;
$custom-light: #e8dc7e;
$custom-dark: #000000;
JSON
{
  "hex": "#d9ce40",
  "rgb": {
    "r": 217,
    "g": 206,
    "b": 64
  },
  "hsl": {
    "h": 55.686,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.83584,
    "c": 0.15633,
    "h": 104.9
  },
  "luminance": 0.59264
}

Semantic roles & 50–950 ramp

primary
#D9CE40
secondary
#32398B
accent
#4AEA3E
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17150A
muted
#85847D

Preview Lab

Preview with #D9CE40

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

Preview Lab → · Contrast checker → · Palette generator →

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