#D8D15D#D8D15D

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

Color values

HEX#D8D15D
RGBrgb(216, 209, 93)
HSLhsl(57, 61%, 61%)
HSVhsv(57, 57%, 85%)
CMYKcmyk(0%, 3.2%, 56.9%, 15.3%)
CIE-LABlab(82.37, -12.23, 57.21)
CIE-LCHlch(82.37, 58.50, 102.07°)
OKLaboklab(84.38% -0.0374 0.1324)
OKLCHoklch(84.38% 0.138 105.8)
XYZxyz(53.0968, 60.9919, 19.3295)
Luminance0.6099 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D15D #5D64D8
analogous
#D8935D #D8D15D #A2D85D
triadic
#D8D15D #5DD8D1 #D15DD8
tetradic
#D8D15D #5DD893 #5D64D8 #D85DA2
square
#D8D15D #5DD893 #5D64D8 #D85DA2
split-complementary
#D8D15D #5DA2D8 #935DD8
monochromatic
#969024 #C8BF30 #D8D15D #E4DF8E #F0EDC0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8D15D#FFFFFF#000000##000000
##D8D15D1.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)
#E1CA51
Deuteranopia (green-blind)
#E4CF63
Tritanopia (blue-blind)
#E6C5B8
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d8d15d;
/* rgb */ color: rgb(216, 209, 93);
/* oklch */ color: oklch(84.4% 0.138 105.8);
Tailwind
colors: {
  custom: {
    50: '#e7de8f',
    500: '#d8d15d',
    950: '#000000',
  },
}
SCSS
$custom: #d8d15d;
$custom-light: #e7de8f;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d15d",
  "rgb": {
    "r": 216,
    "g": 209,
    "b": 93
  },
  "hsl": {
    "h": 56.585,
    "s": 61.194,
    "l": 60.588
  },
  "oklch": {
    "l": 0.84383,
    "c": 0.13756,
    "h": 105.8
  },
  "luminance": 0.6099
}

Semantic roles & 50–950 ramp

primary
#D8D15D
secondary
#3E439B
accent
#26C91D
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #D8D15D

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

Preview Lab → · Contrast checker → · Palette generator →

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