#D8CD5A#D8CD5A

#D8CD5A is a very light, vivid yellow. Relative luminance 0.590; OKLCH L 83.5% C 0.136 H 103.9°. Best body text is #000000 at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#D8CD5A
RGBrgb(216, 205, 90)
HSLhsl(55, 62%, 60%)
HSVhsv(55, 58%, 85%)
CMYKcmyk(0%, 5.1%, 58.3%, 15.3%)
CIE-LABlab(81.29, -10.43, 57.33)
CIE-LCHlch(81.29, 58.27, 100.31°)
OKLaboklab(83.51% -0.0326 0.1323)
OKLCHoklch(83.51% 0.136 103.9)
XYZxyz(51.9975, 59.0016, 18.3203)
Luminance0.5900 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CD5A #5A65D8
analogous
#D88E5A #D8CD5A #A4D85A
triadic
#D8CD5A #5AD8CD #CD5AD8
tetradic
#D8CD5A #5AD88E #5A65D8 #D85AA4
square
#D8CD5A #5AD88E #5A65D8 #D85AA4
split-complementary
#D8CD5A #5AA4D8 #8E5AD8
monochromatic
#958B23 #C6B92F #D8CD5A #E4DC8B #EFEBBD

Accessibility & contrast

On white

1.64
#D8CD5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.80
#D8CD5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CD5A
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CD5A#FFFFFF#000000##000000
##D8CD5A1.001.6412.8012.80
#FFFFFF1.641.0021.0021.00
#00000012.8021.001.001.00
##00000012.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC74E
Deuteranopia (green-blind)
#E1CD60
Tritanopia (blue-blind)
#E7C0B4
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d8cd5a;
/* rgb */ color: rgb(216, 205, 90);
/* oklch */ color: oklch(83.5% 0.136 103.9);
Tailwind
colors: {
  custom: {
    50: '#e7dc8d',
    500: '#d8cd5a',
    950: '#000000',
  },
}
SCSS
$custom: #d8cd5a;
$custom-light: #e7dc8d;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cd5a",
  "rgb": {
    "r": 216,
    "g": 205,
    "b": 90
  },
  "hsl": {
    "h": 54.762,
    "s": 61.765,
    "l": 60
  },
  "oklch": {
    "l": 0.83513,
    "c": 0.13624,
    "h": 103.9
  },
  "luminance": 0.59
}

Semantic roles & 50–950 ramp

primary
#D8CD5A
secondary
#3D4599
accent
#51E543
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D8CD5A

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

Preview Lab → · Contrast checker → · Palette generator →

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