#D8CF4D#D8CF4D

#D8CF4D is a very light, vivid yellow. Relative luminance 0.598; OKLCH L 83.8% C 0.148 H 105.4°. Best body text is #000000 at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#D8CF4D
RGBrgb(216, 207, 77)
HSLhsl(56, 64%, 57%)
HSVhsv(56, 64%, 85%)
CMYKcmyk(0%, 4.2%, 64.4%, 15.3%)
CIE-LABlab(81.71, -12.29, 63.33)
CIE-LCHlch(81.71, 64.51, 100.98°)
OKLaboklab(83.81% -0.0393 0.1432)
OKLCHoklch(83.81% 0.149 105.4)
XYZxyz(51.9732, 59.7622, 15.8173)
Luminance0.5976 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CF4D #4D56D8
analogous
#D8894D #D8CF4D #9CD84D
triadic
#D8CF4D #4DD8CF #CF4DD8
tetradic
#D8CF4D #4DD889 #4D56D8 #D84D9C
square
#D8CF4D #4DD889 #4D56D8 #D84D9C
split-complementary
#D8CF4D #4D9CD8 #894DD8
monochromatic
#8C851F #BEB52A #D8CF4D #E3DD7F #EEEAB1

Accessibility & contrast

On white

1.62
#D8CF4D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.95
#D8CF4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CF4D
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CF4D#FFFFFF#000000##000000
##D8CF4D1.001.6212.9512.95
#FFFFFF1.621.0021.0021.00
#00000012.9521.001.001.00
##00000012.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C83C
Deuteranopia (green-blind)
#E4CE55
Tritanopia (blue-blind)
#E7C2B4
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d8cf4d;
/* rgb */ color: rgb(216, 207, 77);
/* oklch */ color: oklch(83.8% 0.148 105.4);
Tailwind
colors: {
  custom: {
    50: '#e7dd85',
    500: '#d8cf4d',
    950: '#000000',
  },
}
SCSS
$custom: #d8cf4d;
$custom-light: #e7dd85;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cf4d",
  "rgb": {
    "r": 216,
    "g": 207,
    "b": 77
  },
  "hsl": {
    "h": 56.115,
    "s": 64.055,
    "l": 57.451
  },
  "oklch": {
    "l": 0.83809,
    "c": 0.1485,
    "h": 105.4
  },
  "luminance": 0.5976
}

Semantic roles & 50–950 ramp

primary
#D8CF4D
secondary
#373D92
accent
#4CE741
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D8CF4D

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

Preview Lab → · Contrast checker → · Palette generator →

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