#D8CA58#D8CA58

#D8CA58 is a very light, vivid yellow. Relative luminance 0.575; OKLCH L 82.9% C 0.135 H 102.3°. Best body text is #000000 at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#D8CA58
RGBrgb(216, 202, 88)
HSLhsl(53, 62%, 60%)
HSVhsv(53, 59%, 85%)
CMYKcmyk(0%, 6.5%, 59.3%, 15.3%)
CIE-LABlab(80.49, -9.05, 57.32)
CIE-LCHlch(80.49, 58.03, 98.97°)
OKLaboklab(82.87% -0.0289 0.132)
OKLCHoklch(82.87% 0.135 102.3)
XYZxyz(51.2027, 57.5465, 17.6411)
Luminance0.5755 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CA58 #5866D8
analogous
#D88A58 #D8CA58 #A6D858
triadic
#D8CA58 #58D8CA #CA58D8
tetradic
#D8CA58 #58D88A #5866D8 #D858A6
square
#D8CA58 #58D88A #5866D8 #D858A6
split-complementary
#D8CA58 #58A6D8 #8A58D8
monochromatic
#938722 #C5B42E #D8CA58 #E4DA8A #EFE9BB

Accessibility & contrast

On white

1.68
#D8CA58 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.51
#D8CA58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CA58
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CA58#FFFFFF#000000##000000
##D8CA581.001.6812.5112.51
#FFFFFF1.681.0021.0021.00
#00000012.5121.001.001.00
##00000012.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC44C
Deuteranopia (green-blind)
#DFCB5E
Tritanopia (blue-blind)
#E7BDB1
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d8ca58;
/* rgb */ color: rgb(216, 202, 88);
/* oklch */ color: oklch(82.9% 0.135 102.3);
Tailwind
colors: {
  custom: {
    50: '#e7d98b',
    500: '#d8ca58',
    950: '#000000',
  },
}
SCSS
$custom: #d8ca58;
$custom-light: #e7d98b;
$custom-dark: #000000;
JSON
{
  "hex": "#d8ca58",
  "rgb": {
    "r": 216,
    "g": 202,
    "b": 88
  },
  "hsl": {
    "h": 53.438,
    "s": 62.136,
    "l": 59.608
  },
  "oklch": {
    "l": 0.82867,
    "c": 0.13513,
    "h": 102.3
  },
  "luminance": 0.57545
}

Semantic roles & 50–950 ramp

primary
#D8CA58
secondary
#3C4698
accent
#54E543
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D8CA58

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

Preview Lab → · Contrast checker → · Palette generator →

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