#D8CE4F#D8CE4F

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

Color values

HEX#D8CE4F
RGBrgb(216, 206, 79)
HSLhsl(56, 64%, 58%)
HSVhsv(56, 63%, 85%)
CMYKcmyk(0%, 4.6%, 63.4%, 15.3%)
CIE-LABlab(81.46, -11.67, 62.24)
CIE-LCHlch(81.46, 63.33, 100.62°)
OKLaboklab(83.62% -0.0373 0.1412)
OKLCHoklch(83.62% 0.146 104.8)
XYZxyz(51.8034, 59.3079, 16.1144)
Luminance0.5931 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CE4F #4F59D8
analogous
#D8894F #D8CE4F #9ED84F
triadic
#D8CE4F #4FD8CE #CE4FD8
tetradic
#D8CE4F #4FD889 #4F59D8 #D84F9E
square
#D8CE4F #4FD889 #4F59D8 #D84F9E
split-complementary
#D8CE4F #4F9ED8 #894FD8
monochromatic
#8D851F #BFB52A #D8CE4F #E3DC81 #EEEAB3

Accessibility & contrast

On white

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

On black

12.86
#D8CE4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CE4F
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CE4F#FFFFFF#000000##000000
##D8CE4F1.001.6312.8612.86
#FFFFFF1.631.0021.0021.00
#00000012.8621.001.001.00
##00000012.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC73F
Deuteranopia (green-blind)
#E3CD56
Tritanopia (blue-blind)
#E7C1B4
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d8ce4f;
/* rgb */ color: rgb(216, 206, 79);
/* oklch */ color: oklch(83.6% 0.146 104.8);
Tailwind
colors: {
  custom: {
    50: '#e7dc86',
    500: '#d8ce4f',
    950: '#000000',
  },
}
SCSS
$custom: #d8ce4f;
$custom-light: #e7dc86;
$custom-dark: #000000;
JSON
{
  "hex": "#d8ce4f",
  "rgb": {
    "r": 216,
    "g": 206,
    "b": 79
  },
  "hsl": {
    "h": 55.62,
    "s": 63.721,
    "l": 57.843
  },
  "oklch": {
    "l": 0.83616,
    "c": 0.14606,
    "h": 104.8
  },
  "luminance": 0.59306
}

Semantic roles & 50–950 ramp

primary
#D8CE4F
secondary
#383F93
accent
#4DE741
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#16150C
muted
#85847F

Preview Lab

Preview with #D8CE4F

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

Preview Lab → · Contrast checker → · Palette generator →

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