#D8CF4B#D8CF4B

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

Color values

HEX#D8CF4B
RGBrgb(216, 207, 75)
HSLhsl(56, 64%, 57%)
HSVhsv(56, 65%, 85%)
CMYKcmyk(0%, 4.2%, 65.3%, 15.3%)
CIE-LABlab(81.69, -12.41, 64.12)
CIE-LCHlch(81.69, 65.31, 100.95°)
OKLaboklab(83.79% -0.0399 0.1446)
OKLCHoklch(83.79% 0.15 105.4)
XYZxyz(51.9037, 59.7344, 15.4511)
Luminance0.5973 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CF4B #4B54D8
analogous
#D8884B #D8CF4B #9BD84B
triadic
#D8CF4B #4BD8CF #CF4BD8
tetradic
#D8CF4B #4BD888 #4B54D8 #D84B9B
square
#D8CF4B #4BD888 #4B54D8 #D84B9B
split-complementary
#D8CF4B #4B9BD8 #884BD8
monochromatic
#8B841E #BDB329 #D8CF4B #E3DC7D #EEEAB0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8CF4B#FFFFFF#000000##000000
##D8CF4B1.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)
#E0C839
Deuteranopia (green-blind)
#E4CE53
Tritanopia (blue-blind)
#E7C2B4
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d8cf4b;
/* rgb */ color: rgb(216, 207, 75);
/* oklch */ color: oklch(83.8% 0.150 105.4);
Tailwind
colors: {
  custom: {
    50: '#e7dd84',
    500: '#d8cf4b',
    950: '#000000',
  },
}
SCSS
$custom: #d8cf4b;
$custom-light: #e7dd84;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cf4b",
  "rgb": {
    "r": 216,
    "g": 207,
    "b": 75
  },
  "hsl": {
    "h": 56.17,
    "s": 64.384,
    "l": 57.059
  },
  "oklch": {
    "l": 0.83792,
    "c": 0.14996,
    "h": 105.4
  },
  "luminance": 0.59733
}

Semantic roles & 50–950 ramp

primary
#D8CF4B
secondary
#373C90
accent
#4BE740
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D8CF4B

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

Preview Lab → · Contrast checker → · Palette generator →

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