#D8CF3F#D8CF3F

#D8CF3F is a very light, vivid yellow. Relative luminance 0.596; OKLCH L 83.7% C 0.158 H 105.7°. Best body text is #000000 at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#D8CF3F
RGBrgb(216, 207, 63)
HSLhsl(56, 66%, 55%)
HSVhsv(56, 71%, 85%)
CMYKcmyk(0%, 4.2%, 70.8%, 15.3%)
CIE-LABlab(81.61, -13.04, 68.60)
CIE-LCHlch(81.61, 69.82, 100.76°)
OKLaboklab(83.7% -0.0429 0.152)
OKLCHoklch(83.7% 0.158 105.7)
XYZxyz(51.5310, 59.5854, 13.4884)
Luminance0.5958 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CF3F #3F48D8
analogous
#D8833F #D8CF3F #94D83F
triadic
#D8CF3F #3FD8CF #CF3FD8
tetradic
#D8CF3F #3FD883 #3F48D8 #D83F94
square
#D8CF3F #3FD883 #3F48D8 #D83F94
split-complementary
#D8CF3F #3F94D8 #833FD8
monochromatic
#827C1A #B5AD25 #D8CF3F #E2DC72 #EDE8A5

Accessibility & contrast

On white

1.63
#D8CF3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.92
#D8CF3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CF3F
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CF3F#FFFFFF#000000##000000
##D8CF3F1.001.6312.9212.92
#FFFFFF1.631.0021.0021.00
#00000012.9221.001.001.00
##00000012.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C726
Deuteranopia (green-blind)
#E4CE49
Tritanopia (blue-blind)
#E8C1B3
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d8cf3f;
/* rgb */ color: rgb(216, 207, 63);
/* oklch */ color: oklch(83.7% 0.158 105.7);
Tailwind
colors: {
  custom: {
    50: '#e8dd7d',
    500: '#d8cf3f',
    950: '#000000',
  },
}
SCSS
$custom: #d8cf3f;
$custom-light: #e8dd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cf3f",
  "rgb": {
    "r": 216,
    "g": 207,
    "b": 63
  },
  "hsl": {
    "h": 56.471,
    "s": 66.234,
    "l": 54.706
  },
  "oklch": {
    "l": 0.83701,
    "c": 0.15795,
    "h": 105.7
  },
  "luminance": 0.59583
}

Semantic roles & 50–950 ramp

primary
#D8CF3F
secondary
#323789
accent
#49E93F
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150A
muted
#85847D

Preview Lab

Preview with #D8CF3F

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

Preview Lab → · Contrast checker → · Palette generator →

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