#D8D15E#D8D15E

#D8D15E is a very light, vivid yellow. Relative luminance 0.610; OKLCH L 84.4% C 0.137 H 105.7°. Best body text is #000000 at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#D8D15E
RGBrgb(216, 209, 94)
HSLhsl(57, 61%, 61%)
HSVhsv(57, 56%, 85%)
CMYKcmyk(0%, 3.2%, 56.5%, 15.3%)
CIE-LABlab(82.38, -12.16, 56.77)
CIE-LCHlch(82.38, 58.06, 102.09°)
OKLaboklab(84.39% -0.0371 0.1316)
OKLCHoklch(84.39% 0.137 105.7)
XYZxyz(53.1414, 61.0097, 19.5643)
Luminance0.6101 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D15E #5E65D8
analogous
#D8945E #D8D15E #A2D85E
triadic
#D8D15E #5ED8D1 #D15ED8
tetradic
#D8D15E #5ED894 #5E65D8 #D85EA2
square
#D8D15E #5ED894 #5E65D8 #D85EA2
split-complementary
#D8D15E #5EA2D8 #945ED8
monochromatic
#979025 #C8C031 #D8D15E #E4DF8F #F0EDC1

Accessibility & contrast

On white

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

On black

13.20
#D8D15E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D15E
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D15E#FFFFFF#000000##000000
##D8D15E1.001.5913.2013.20
#FFFFFF1.591.0021.0021.00
#00000013.2021.001.001.00
##00000013.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CA52
Deuteranopia (green-blind)
#E4CF64
Tritanopia (blue-blind)
#E6C5B8
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d8d15e;
/* rgb */ color: rgb(216, 209, 94);
/* oklch */ color: oklch(84.4% 0.137 105.7);
Tailwind
colors: {
  custom: {
    50: '#e7de8f',
    500: '#d8d15e',
    950: '#000000',
  },
}
SCSS
$custom: #d8d15e;
$custom-light: #e7de8f;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d15e",
  "rgb": {
    "r": 216,
    "g": 209,
    "b": 94
  },
  "hsl": {
    "h": 56.557,
    "s": 61,
    "l": 60.784
  },
  "oklch": {
    "l": 0.84394,
    "c": 0.13669,
    "h": 105.7
  },
  "luminance": 0.61008
}

Semantic roles & 50–950 ramp

primary
#D8D15E
secondary
#3F449C
accent
#27C91D
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #D8D15E

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

Preview Lab → · Contrast checker → · Palette generator →

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