#D8D05F#D8D05F

#D8D05F is a very light, vivid yellow. Relative luminance 0.605; OKLCH L 84.2% C 0.135 H 105.2°. Best body text is #000000 at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#D8D05F
RGBrgb(216, 208, 95)
HSLhsl(56, 61%, 61%)
HSVhsv(56, 56%, 85%)
CMYKcmyk(0%, 3.7%, 56%, 15.3%)
CIE-LABlab(82.13, -11.58, 56.03)
CIE-LCHlch(82.13, 57.22, 101.68°)
OKLaboklab(84.2% -0.0353 0.1301)
OKLCHoklch(84.2% 0.135 105.2)
XYZxyz(52.9420, 60.5386, 19.7206)
Luminance0.6054 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D05F #5F67D8
analogous
#D8935F #D8D05F #A3D85F
triadic
#D8D05F #5FD8D0 #D05FD8
tetradic
#D8D05F #5FD893 #5F67D8 #D85FA3
square
#D8D05F #5FD893 #5F67D8 #D85FA3
split-complementary
#D8D05F #5FA3D8 #935FD8
monochromatic
#989025 #C9BF31 #D8D05F #E4DE90 #F0EDC1

Accessibility & contrast

On white

1.60
#D8D05F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.11
#D8D05F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D05F
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D05F#FFFFFF#000000##000000
##D8D05F1.001.6013.1113.11
#FFFFFF1.601.0021.0021.00
#00000013.1121.001.001.00
##00000013.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C953
Deuteranopia (green-blind)
#E3CF65
Tritanopia (blue-blind)
#E6C4B7
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d8d05f;
/* rgb */ color: rgb(216, 208, 95);
/* oklch */ color: oklch(84.2% 0.135 105.2);
Tailwind
colors: {
  custom: {
    50: '#e7de90',
    500: '#d8d05f',
    950: '#000000',
  },
}
SCSS
$custom: #d8d05f;
$custom-light: #e7de90;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d05f",
  "rgb": {
    "r": 216,
    "g": 208,
    "b": 95
  },
  "hsl": {
    "h": 56.033,
    "s": 60.804,
    "l": 60.98
  },
  "oklch": {
    "l": 0.84195,
    "c": 0.13481,
    "h": 105.2
  },
  "luminance": 0.60537
}

Semantic roles & 50–950 ramp

primary
#D8D05F
secondary
#3F459C
accent
#28C81D
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #D8D05F

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

Preview Lab → · Contrast checker → · Palette generator →

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