#D8D15A#D8D15A

#D8D15A is a very light, vivid yellow. Relative luminance 0.609; OKLCH L 84.4% C 0.140 H 105.9°. Best body text is #000000 at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#D8D15A
RGBrgb(216, 209, 90)
HSLhsl(57, 62%, 60%)
HSVhsv(57, 58%, 85%)
CMYKcmyk(0%, 3.2%, 58.3%, 15.3%)
CIE-LABlab(82.35, -12.45, 58.50)
CIE-LCHlch(82.35, 59.81, 102.01°)
OKLaboklab(84.35% -0.0384 0.1348)
OKLCHoklch(84.35% 0.14 105.9)
XYZxyz(52.9665, 60.9397, 18.6433)
Luminance0.6094 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D15A #5A61D8
analogous
#D8925A #D8D15A #A0D85A
triadic
#D8D15A #5AD8D1 #D15AD8
tetradic
#D8D15A #5AD892 #5A61D8 #D85AA0
square
#D8D15A #5AD892 #5A61D8 #D85AA0
split-complementary
#D8D15A #5AA0D8 #925AD8
monochromatic
#958E23 #C6BE2F #D8D15A #E4DF8B #EFEDBD

Accessibility & contrast

On white

1.59
#D8D15A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.19
#D8D15A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D15A
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D15A#FFFFFF#000000##000000
##D8D15A1.001.5913.1913.19
#FFFFFF1.591.0021.0021.00
#00000013.1921.001.001.00
##00000013.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CA4D
Deuteranopia (green-blind)
#E4CF61
Tritanopia (blue-blind)
#E6C4B7
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d8d15a;
/* rgb */ color: rgb(216, 209, 90);
/* oklch */ color: oklch(84.4% 0.140 105.9);
Tailwind
colors: {
  custom: {
    50: '#e7de8d',
    500: '#d8d15a',
    950: '#000000',
  },
}
SCSS
$custom: #d8d15a;
$custom-light: #e7de8d;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d15a",
  "rgb": {
    "r": 216,
    "g": 209,
    "b": 90
  },
  "hsl": {
    "h": 56.667,
    "s": 61.765,
    "l": 60
  },
  "oklch": {
    "l": 0.84351,
    "c": 0.14014,
    "h": 105.9
  },
  "luminance": 0.60938
}

Semantic roles & 50–950 ramp

primary
#D8D15A
secondary
#3D4299
accent
#4CE543
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D8D15A

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

Preview Lab → · Contrast checker → · Palette generator →

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