#D8CB3F#D8CB3F

#D8CB3F is a very light, vivid yellow. Relative luminance 0.577; OKLCH L 82.9% C 0.154 H 103.9°. Best body text is #000000 at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#D8CB3F
RGBrgb(216, 203, 63)
HSLhsl(55, 66%, 55%)
HSVhsv(55, 71%, 85%)
CMYKcmyk(0%, 6%, 70.8%, 15.3%)
CIE-LABlab(80.56, -11.02, 67.57)
CIE-LCHlch(80.56, 68.46, 99.27°)
OKLaboklab(82.86% -0.0372 0.1499)
OKLCHoklch(82.86% 0.154 103.9)
XYZxyz(50.5742, 57.6717, 13.1694)
Luminance0.5767 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CB3F #3F4CD8
analogous
#D87F3F #D8CB3F #99D83F
triadic
#D8CB3F #3FD8CB #CB3FD8
tetradic
#D8CB3F #3FD87F #3F4CD8 #D83F99
square
#D8CB3F #3FD87F #3F4CD8 #D83F99
split-complementary
#D8CB3F #3F99D8 #7F3FD8
monochromatic
#82791A #B5A925 #D8CB3F #E2D972 #EDE7A5

Accessibility & contrast

On white

1.68
#D8CB3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.53
#D8CB3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CB3F
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CB3F#FFFFFF#000000##000000
##D8CB3F1.001.6812.5312.53
#FFFFFF1.681.0021.0021.00
#00000012.5321.001.001.00
##00000012.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC428
Deuteranopia (green-blind)
#E1CB48
Tritanopia (blue-blind)
#E8BDAF
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d8cb3f;
/* rgb */ color: rgb(216, 203, 63);
/* oklch */ color: oklch(82.9% 0.154 103.9);
Tailwind
colors: {
  custom: {
    50: '#e8da7d',
    500: '#d8cb3f',
    950: '#000000',
  },
}
SCSS
$custom: #d8cb3f;
$custom-light: #e8da7d;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cb3f",
  "rgb": {
    "r": 216,
    "g": 203,
    "b": 63
  },
  "hsl": {
    "h": 54.902,
    "s": 66.234,
    "l": 54.706
  },
  "oklch": {
    "l": 0.8286,
    "c": 0.1544,
    "h": 103.9
  },
  "luminance": 0.5767
}

Semantic roles & 50–950 ramp

primary
#D8CB3F
secondary
#323A89
accent
#4DE93F
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #D8CB3F

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

Preview Lab → · Contrast checker → · Palette generator →

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