#D8CF56#D8CF56

#D8CF56 is a very light, vivid yellow. Relative luminance 0.599; OKLCH L 83.9% C 0.141 H 105.0°. Best body text is #000000 at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#D8CF56
RGBrgb(216, 207, 86)
HSLhsl(56, 63%, 59%)
HSVhsv(56, 60%, 85%)
CMYKcmyk(0%, 4.2%, 60.2%, 15.3%)
CIE-LABlab(81.78, -11.72, 59.63)
CIE-LCHlch(81.78, 60.77, 101.12°)
OKLaboklab(83.89% -0.0367 0.1367)
OKLCHoklch(83.89% 0.142 105)
XYZxyz(52.3132, 59.8983, 17.6082)
Luminance0.5990 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CF56 #565FD8
analogous
#D88E56 #D8CF56 #A0D856
triadic
#D8CF56 #56D8CF #CF56D8
tetradic
#D8CF56 #56D88E #565FD8 #D856A0
square
#D8CF56 #56D88E #565FD8 #D856A0
split-complementary
#D8CF56 #56A0D8 #8E56D8
monochromatic
#928A22 #C4B92D #D8CF56 #E3DD88 #EFEBB9

Accessibility & contrast

On white

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

On black

12.98
#D8CF56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CF56
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CF56#FFFFFF#000000##000000
##D8CF561.001.6212.9812.98
#FFFFFF1.621.0021.0021.00
#00000012.9821.001.001.00
##00000012.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C848
Deuteranopia (green-blind)
#E3CE5D
Tritanopia (blue-blind)
#E7C2B5
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d8cf56;
/* rgb */ color: rgb(216, 207, 86);
/* oklch */ color: oklch(83.9% 0.141 105.0);
Tailwind
colors: {
  custom: {
    50: '#e7dd8a',
    500: '#d8cf56',
    950: '#000000',
  },
}
SCSS
$custom: #d8cf56;
$custom-light: #e7dd8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cf56",
  "rgb": {
    "r": 216,
    "g": 207,
    "b": 86
  },
  "hsl": {
    "h": 55.846,
    "s": 62.5,
    "l": 59.216
  },
  "oklch": {
    "l": 0.83892,
    "c": 0.1415,
    "h": 105
  },
  "luminance": 0.59896
}

Semantic roles & 50–950 ramp

primary
#D8CF56
secondary
#3B4197
accent
#4EE642
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D8CF56

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

Preview Lab → · Contrast checker → · Palette generator →

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