#D8CB47#D8CB47

#D8CB47 is a very light, vivid yellow. Relative luminance 0.578; OKLCH L 82.9% C 0.149 H 103.7°. Best body text is #000000 at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#D8CB47
RGBrgb(216, 203, 71)
HSLhsl(55, 65%, 56%)
HSVhsv(55, 67%, 85%)
CMYKcmyk(0%, 6%, 67.1%, 15.3%)
CIE-LABlab(80.61, -10.61, 64.59)
CIE-LCHlch(80.61, 65.46, 99.33°)
OKLaboklab(82.92% -0.0352 0.1449)
OKLCHoklch(82.92% 0.149 103.7)
XYZxyz(50.8142, 57.7677, 14.4337)
Luminance0.5777 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CB47 #4754D8
analogous
#D88347 #D8CB47 #9DD847
triadic
#D8CB47 #47D8CB #CB47D8
tetradic
#D8CB47 #47D883 #4754D8 #D8479D
square
#D8CB47 #47D883 #4754D8 #D8479D
split-complementary
#D8CB47 #479DD8 #8347D8
monochromatic
#887E1D #BAAD27 #D8CB47 #E3D979 #EDE8AC

Accessibility & contrast

On white

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

On black

12.55
#D8CB47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CB47
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CB47#FFFFFF#000000##000000
##D8CB471.001.6712.5512.55
#FFFFFF1.671.0021.0021.00
#00000012.5521.001.001.00
##00000012.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC434
Deuteranopia (green-blind)
#E1CB4F
Tritanopia (blue-blind)
#E8BDB0
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d8cb47;
/* rgb */ color: rgb(216, 203, 71);
/* oklch */ color: oklch(82.9% 0.149 103.7);
Tailwind
colors: {
  custom: {
    50: '#e7da81',
    500: '#d8cb47',
    950: '#000000',
  },
}
SCSS
$custom: #d8cb47;
$custom-light: #e7da81;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cb47",
  "rgb": {
    "r": 216,
    "g": 203,
    "b": 71
  },
  "hsl": {
    "h": 54.621,
    "s": 65.022,
    "l": 56.275
  },
  "oklch": {
    "l": 0.8292,
    "c": 0.14914,
    "h": 103.7
  },
  "luminance": 0.57766
}

Semantic roles & 50–950 ramp

primary
#D8CB47
secondary
#353D8E
accent
#4FE840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D8CB47

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

Preview Lab → · Contrast checker → · Palette generator →

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