#D8D15F#D8D15F

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

Color values

HEX#D8D15F
RGBrgb(216, 209, 95)
HSLhsl(57, 61%, 61%)
HSVhsv(57, 56%, 85%)
CMYKcmyk(0%, 3.2%, 56%, 15.3%)
CIE-LABlab(82.39, -12.08, 56.33)
CIE-LCHlch(82.39, 57.61, 102.11°)
OKLaboklab(84.4% -0.0368 0.1307)
OKLCHoklch(84.4% 0.136 105.7)
XYZxyz(53.1866, 61.0278, 19.8021)
Luminance0.6103 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D15F #5F66D8
analogous
#D8945F #D8D15F #A2D85F
triadic
#D8D15F #5FD8D1 #D15FD8
tetradic
#D8D15F #5FD894 #5F66D8 #D85FA2
square
#D8D15F #5FD894 #5F66D8 #D85FA2
split-complementary
#D8D15F #5FA2D8 #945FD8
monochromatic
#989125 #C9C031 #D8D15F #E4DF90 #F0EDC1

Accessibility & contrast

On white

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

On black

13.21
#D8D15F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D15F
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D15F#FFFFFF#000000##000000
##D8D15F1.001.5913.2113.21
#FFFFFF1.591.0021.0021.00
#00000013.2121.001.001.00
##00000013.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8d15f;
/* rgb */ color: rgb(216, 209, 95);
/* oklch */ color: oklch(84.4% 0.136 105.7);
Tailwind
colors: {
  custom: {
    50: '#e7de90',
    500: '#d8d15f',
    950: '#000000',
  },
}
SCSS
$custom: #d8d15f;
$custom-light: #e7de90;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d15f",
  "rgb": {
    "r": 216,
    "g": 209,
    "b": 95
  },
  "hsl": {
    "h": 56.529,
    "s": 60.804,
    "l": 60.98
  },
  "oklch": {
    "l": 0.84404,
    "c": 0.13581,
    "h": 105.7
  },
  "luminance": 0.61026
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D8D15F

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

Preview Lab → · Contrast checker → · Palette generator →

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