#D8CC58#D8CC58

#D8CC58 is a very light, vivid yellow. Relative luminance 0.585; OKLCH L 83.3% C 0.137 H 103.4°. Best body text is #000000 at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#D8CC58
RGBrgb(216, 204, 88)
HSLhsl(54, 62%, 60%)
HSVhsv(54, 59%, 85%)
CMYKcmyk(0%, 5.6%, 59.3%, 15.3%)
CIE-LABlab(81.01, -10.07, 57.91)
CIE-LCHlch(81.01, 58.77, 99.86°)
OKLaboklab(83.28% -0.0318 0.1333)
OKLCHoklch(83.28% 0.137 103.4)
XYZxyz(51.6750, 58.4911, 17.7985)
Luminance0.5849 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CC58 #5864D8
analogous
#D88C58 #D8CC58 #A4D858
triadic
#D8CC58 #58D8CC #CC58D8
tetradic
#D8CC58 #58D88C #5864D8 #D858A4
square
#D8CC58 #58D88C #5864D8 #D858A4
split-complementary
#D8CC58 #58A4D8 #8C58D8
monochromatic
#938922 #C5B72E #D8CC58 #E4DB8A #EFEABB

Accessibility & contrast

On white

1.65
#D8CC58 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.70
#D8CC58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CC58
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CC58#FFFFFF#000000##000000
##D8CC581.001.6512.7012.70
#FFFFFF1.651.0021.0021.00
#00000012.7021.001.001.00
##00000012.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC64B
Deuteranopia (green-blind)
#E1CC5E
Tritanopia (blue-blind)
#E7BFB3
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d8cc58;
/* rgb */ color: rgb(216, 204, 88);
/* oklch */ color: oklch(83.3% 0.137 103.4);
Tailwind
colors: {
  custom: {
    50: '#e7db8b',
    500: '#d8cc58',
    950: '#000000',
  },
}
SCSS
$custom: #d8cc58;
$custom-light: #e7db8b;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cc58",
  "rgb": {
    "r": 216,
    "g": 204,
    "b": 88
  },
  "hsl": {
    "h": 54.375,
    "s": 62.136,
    "l": 59.608
  },
  "oklch": {
    "l": 0.83284,
    "c": 0.13699,
    "h": 103.4
  },
  "luminance": 0.58489
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D8CC58

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

Preview Lab → · Contrast checker → · Palette generator →

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