#D8CB58#D8CB58

#D8CB58 is a very light, vivid yellow. Relative luminance 0.580; OKLCH L 83.1% C 0.136 H 102.9°. Best body text is #000000 at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#D8CB58
RGBrgb(216, 203, 88)
HSLhsl(54, 62%, 60%)
HSVhsv(54, 59%, 85%)
CMYKcmyk(0%, 6%, 59.3%, 15.3%)
CIE-LABlab(80.75, -9.56, 57.61)
CIE-LCHlch(80.75, 58.40, 99.42°)
OKLaboklab(83.08% -0.0303 0.1326)
OKLCHoklch(83.08% 0.136 102.9)
XYZxyz(51.4381, 58.0173, 17.7196)
Luminance0.5802 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CB58 #5865D8
analogous
#D88B58 #D8CB58 #A5D858
triadic
#D8CB58 #58D8CB #CB58D8
tetradic
#D8CB58 #58D88B #5865D8 #D858A5
square
#D8CB58 #58D88B #5865D8 #D858A5
split-complementary
#D8CB58 #58A5D8 #8B58D8
monochromatic
#938822 #C5B62E #D8CB58 #E4DA8A #EFEABB

Accessibility & contrast

On white

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

On black

12.60
#D8CB58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CB58
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CB58#FFFFFF#000000##000000
##D8CB581.001.6712.6012.60
#FFFFFF1.671.0021.0021.00
#00000012.6021.001.001.00
##00000012.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC54B
Deuteranopia (green-blind)
#E0CB5E
Tritanopia (blue-blind)
#E7BEB2
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d8cb58;
/* rgb */ color: rgb(216, 203, 88);
/* oklch */ color: oklch(83.1% 0.136 102.9);
Tailwind
colors: {
  custom: {
    50: '#e7da8b',
    500: '#d8cb58',
    950: '#000000',
  },
}
SCSS
$custom: #d8cb58;
$custom-light: #e7da8b;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cb58",
  "rgb": {
    "r": 216,
    "g": 203,
    "b": 88
  },
  "hsl": {
    "h": 53.906,
    "s": 62.136,
    "l": 59.608
  },
  "oklch": {
    "l": 0.83075,
    "c": 0.13606,
    "h": 102.9
  },
  "luminance": 0.58015
}

Semantic roles & 50–950 ramp

primary
#D8CB58
secondary
#3C4598
accent
#53E543
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D8CB58

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

Preview Lab → · Contrast checker → · Palette generator →

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