#D8CB43#D8CB43

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

Color values

HEX#D8CB43
RGBrgb(216, 203, 67)
HSLhsl(55, 66%, 55%)
HSVhsv(55, 69%, 85%)
CMYKcmyk(0%, 6%, 69%, 15.3%)
CIE-LABlab(80.58, -10.83, 66.11)
CIE-LCHlch(80.58, 66.99, 99.30°)
OKLaboklab(82.89% -0.0362 0.1475)
OKLCHoklch(82.89% 0.152 103.8)
XYZxyz(50.6901, 57.7181, 13.7797)
Luminance0.5772 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CB43 #4350D8
analogous
#D88043 #D8CB43 #9AD843
triadic
#D8CB43 #43D8CB #CB43D8
tetradic
#D8CB43 #43D880 #4350D8 #D8439A
square
#D8CB43 #43D880 #4350D8 #D8439A
split-complementary
#D8CB43 #439AD8 #8043D8
monochromatic
#857C1C #B8AB26 #D8CB43 #E3D976 #EDE7A8

Accessibility & contrast

On white

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

On black

12.54
#D8CB43 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CB43
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CB43#FFFFFF#000000##000000
##D8CB431.001.6712.5412.54
#FFFFFF1.671.0021.0021.00
#00000012.5421.001.001.00
##00000012.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8cb43;
/* rgb */ color: rgb(216, 203, 67);
/* oklch */ color: oklch(82.9% 0.152 103.8);
Tailwind
colors: {
  custom: {
    50: '#e8da7f',
    500: '#d8cb43',
    950: '#000000',
  },
}
SCSS
$custom: #d8cb43;
$custom-light: #e8da7f;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cb43",
  "rgb": {
    "r": 216,
    "g": 203,
    "b": 67
  },
  "hsl": {
    "h": 54.765,
    "s": 65.639,
    "l": 55.49
  },
  "oklch": {
    "l": 0.82889,
    "c": 0.15184,
    "h": 103.8
  },
  "luminance": 0.57716
}

Semantic roles & 50–950 ramp

primary
#D8CB43
secondary
#343B8C
accent
#4EE93F
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #D8CB43

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

Preview Lab → · Contrast checker → · Palette generator →

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