#D8D05E#D8D05E

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

Color values

HEX#D8D05E
RGBrgb(216, 208, 94)
HSLhsl(56, 61%, 61%)
HSVhsv(56, 56%, 85%)
CMYKcmyk(0%, 3.7%, 56.5%, 15.3%)
CIE-LABlab(82.12, -11.66, 56.47)
CIE-LCHlch(82.12, 57.66, 101.66°)
OKLaboklab(84.18% -0.0357 0.1309)
OKLCHoklch(84.18% 0.136 105.2)
XYZxyz(52.8968, 60.5205, 19.4827)
Luminance0.6052 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D05E #5E66D8
analogous
#D8935E #D8D05E #A3D85E
triadic
#D8D05E #5ED8D0 #D05ED8
tetradic
#D8D05E #5ED893 #5E66D8 #D85EA3
square
#D8D05E #5ED893 #5E66D8 #D85EA3
split-complementary
#D8D05E #5EA3D8 #935ED8
monochromatic
#979025 #C8BE31 #D8D05E #E4DE8F #F0EDC1

Accessibility & contrast

On white

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

On black

13.10
#D8D05E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D05E
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D05E#FFFFFF#000000##000000
##D8D05E1.001.6013.1013.10
#FFFFFF1.601.0021.0021.00
#00000013.1021.001.001.00
##00000013.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8d05e;
/* rgb */ color: rgb(216, 208, 94);
/* oklch */ color: oklch(84.2% 0.136 105.2);
Tailwind
colors: {
  custom: {
    50: '#e7de8f',
    500: '#d8d05e',
    950: '#000000',
  },
}
SCSS
$custom: #d8d05e;
$custom-light: #e7de8f;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d05e",
  "rgb": {
    "r": 216,
    "g": 208,
    "b": 94
  },
  "hsl": {
    "h": 56.066,
    "s": 61,
    "l": 60.784
  },
  "oklch": {
    "l": 0.84184,
    "c": 0.13569,
    "h": 105.2
  },
  "luminance": 0.60519
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D8D05E

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

Preview Lab → · Contrast checker → · Palette generator →

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