#D8CF5D#D8CF5D

#D8CF5D is a very light, vivid yellow. Relative luminance 0.600; OKLCH L 84.0% C 0.136 H 104.8°. Best body text is #000000 at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#D8CF5D
RGBrgb(216, 207, 93)
HSLhsl(56, 61%, 61%)
HSVhsv(56, 57%, 85%)
CMYKcmyk(0%, 4.2%, 56.9%, 15.3%)
CIE-LABlab(81.85, -11.23, 56.61)
CIE-LCHlch(81.85, 57.72, 101.22°)
OKLaboklab(83.96% -0.0345 0.1311)
OKLCHoklch(83.96% 0.136 104.8)
XYZxyz(52.6092, 60.0166, 19.1669)
Luminance0.6001 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CF5D #5D66D8
analogous
#D8915D #D8CF5D #A3D85D
triadic
#D8CF5D #5DD8CF #CF5DD8
tetradic
#D8CF5D #5DD891 #5D66D8 #D85DA3
square
#D8CF5D #5DD891 #5D66D8 #D85DA3
split-complementary
#D8CF5D #5DA3D8 #915DD8
monochromatic
#968E24 #C8BD30 #D8CF5D #E4DE8E #F0ECC0

Accessibility & contrast

On white

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

On black

13.00
#D8CF5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CF5D
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CF5D#FFFFFF#000000##000000
##D8CF5D1.001.6213.0013.00
#FFFFFF1.621.0021.0021.00
#00000013.0021.001.001.00
##00000013.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC851
Deuteranopia (green-blind)
#E2CE63
Tritanopia (blue-blind)
#E6C3B6
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d8cf5d;
/* rgb */ color: rgb(216, 207, 93);
/* oklch */ color: oklch(84.0% 0.136 104.8);
Tailwind
colors: {
  custom: {
    50: '#e7dd8f',
    500: '#d8cf5d',
    950: '#000000',
  },
}
SCSS
$custom: #d8cf5d;
$custom-light: #e7dd8f;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cf5d",
  "rgb": {
    "r": 216,
    "g": 207,
    "b": 93
  },
  "hsl": {
    "h": 55.61,
    "s": 61.194,
    "l": 60.588
  },
  "oklch": {
    "l": 0.83964,
    "c": 0.13558,
    "h": 104.8
  },
  "luminance": 0.60015
}

Semantic roles & 50–950 ramp

primary
#D8CF5D
secondary
#3E459B
accent
#29C91D
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #D8CF5D

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

Preview Lab → · Contrast checker → · Palette generator →

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