#D8CB4E#D8CB4E

#D8CB4E is a very light, vivid yellow. Relative luminance 0.579; OKLCH L 83.0% C 0.144 H 103.4°. Best body text is #000000 at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#D8CB4E
RGBrgb(216, 203, 78)
HSLhsl(54, 64%, 58%)
HSVhsv(54, 64%, 85%)
CMYKcmyk(0%, 6%, 63.9%, 15.3%)
CIE-LABlab(80.66, -10.21, 61.82)
CIE-LCHlch(80.66, 62.65, 99.38°)
OKLaboklab(82.98% -0.0333 0.1402)
OKLCHoklch(82.98% 0.144 103.4)
XYZxyz(51.0520, 57.8628, 15.6857)
Luminance0.5786 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CB4E #4E5BD8
analogous
#D8864E #D8CB4E #A0D84E
triadic
#D8CB4E #4ED8CB #CB4ED8
tetradic
#D8CB4E #4ED886 #4E5BD8 #D84EA0
square
#D8CB4E #4ED886 #4E5BD8 #D84EA0
split-complementary
#D8CB4E #4EA0D8 #864ED8
monochromatic
#8D821F #BFB12A #D8CB4E #E3DA80 #EEE8B2

Accessibility & contrast

On white

1.67
#D8CB4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.57
#D8CB4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CB4E
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CB4E#FFFFFF#000000##000000
##D8CB4E1.001.6712.5712.57
#FFFFFF1.671.0021.0021.00
#00000012.5721.001.001.00
##00000012.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC53E
Deuteranopia (green-blind)
#E0CB55
Tritanopia (blue-blind)
#E7BEB1
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d8cb4e;
/* rgb */ color: rgb(216, 203, 78);
/* oklch */ color: oklch(83.0% 0.144 103.4);
Tailwind
colors: {
  custom: {
    50: '#e7da85',
    500: '#d8cb4e',
    950: '#000000',
  },
}
SCSS
$custom: #d8cb4e;
$custom-light: #e7da85;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cb4e",
  "rgb": {
    "r": 216,
    "g": 203,
    "b": 78
  },
  "hsl": {
    "h": 54.348,
    "s": 63.889,
    "l": 57.647
  },
  "oklch": {
    "l": 0.82979,
    "c": 0.14406,
    "h": 103.4
  },
  "luminance": 0.57861
}

Semantic roles & 50–950 ramp

primary
#D8CB4E
secondary
#384092
accent
#51E741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D8CB4E

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

Preview Lab → · Contrast checker → · Palette generator →

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