#D8CF4C#D8CF4C

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

Color values

HEX#D8CF4C
RGBrgb(216, 207, 76)
HSLhsl(56, 64%, 57%)
HSVhsv(56, 65%, 85%)
CMYKcmyk(0%, 4.2%, 64.8%, 15.3%)
CIE-LABlab(81.70, -12.35, 63.72)
CIE-LCHlch(81.70, 64.91, 100.97°)
OKLaboklab(83.8% -0.0396 0.1439)
OKLCHoklch(83.8% 0.149 105.4)
XYZxyz(51.9382, 59.7482, 15.6328)
Luminance0.5975 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CF4C #4C55D8
analogous
#D8894C #D8CF4C #9BD84C
triadic
#D8CF4C #4CD8CF #CF4CD8
tetradic
#D8CF4C #4CD889 #4C55D8 #D84C9B
square
#D8CF4C #4CD889 #4C55D8 #D84C9B
split-complementary
#D8CF4C #4C9BD8 #894CD8
monochromatic
#8B841E #BEB429 #D8CF4C #E3DC7E #EEEAB1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8CF4C#FFFFFF#000000##000000
##D8CF4C1.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)
#E0C83B
Deuteranopia (green-blind)
#E4CE54
Tritanopia (blue-blind)
#E7C2B4
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d8cf4c;
/* rgb */ color: rgb(216, 207, 76);
/* oklch */ color: oklch(83.8% 0.149 105.4);
Tailwind
colors: {
  custom: {
    50: '#e7dd84',
    500: '#d8cf4c',
    950: '#000000',
  },
}
SCSS
$custom: #d8cf4c;
$custom-light: #e7dd84;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cf4c",
  "rgb": {
    "r": 216,
    "g": 207,
    "b": 76
  },
  "hsl": {
    "h": 56.143,
    "s": 64.22,
    "l": 57.255
  },
  "oklch": {
    "l": 0.838,
    "c": 0.14923,
    "h": 105.4
  },
  "luminance": 0.59746
}

Semantic roles & 50–950 ramp

primary
#D8CF4C
secondary
#373D91
accent
#4BE741
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D8CF4C

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

Preview Lab → · Contrast checker → · Palette generator →

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