#D8D05D#D8D05D

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

Color values

HEX#D8D05D
RGBrgb(216, 208, 93)
HSLhsl(56, 61%, 61%)
HSVhsv(56, 57%, 85%)
CMYKcmyk(0%, 3.7%, 56.9%, 15.3%)
CIE-LABlab(82.11, -11.73, 56.91)
CIE-LCHlch(82.11, 58.11, 101.65°)
OKLaboklab(84.17% -0.036 0.1317)
OKLCHoklch(84.17% 0.137 105.3)
XYZxyz(52.8522, 60.5027, 19.2479)
Luminance0.6050 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D05D #5D65D8
analogous
#D8935D #D8D05D #A2D85D
triadic
#D8D05D #5DD8D0 #D05DD8
tetradic
#D8D05D #5DD893 #5D65D8 #D85DA2
square
#D8D05D #5DD893 #5D65D8 #D85DA2
split-complementary
#D8D05D #5DA2D8 #935DD8
monochromatic
#968F24 #C8BE30 #D8D05D #E4DE8E #F0EDC0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8D05D#FFFFFF#000000##000000
##D8D05D1.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)
#E0C951
Deuteranopia (green-blind)
#E3CF63
Tritanopia (blue-blind)
#E6C4B7
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d8d05d;
/* rgb */ color: rgb(216, 208, 93);
/* oklch */ color: oklch(84.2% 0.137 105.3);
Tailwind
colors: {
  custom: {
    50: '#e7de8f',
    500: '#d8d05d',
    950: '#000000',
  },
}
SCSS
$custom: #d8d05d;
$custom-light: #e7de8f;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d05d",
  "rgb": {
    "r": 216,
    "g": 208,
    "b": 93
  },
  "hsl": {
    "h": 56.098,
    "s": 61.194,
    "l": 60.588
  },
  "oklch": {
    "l": 0.84173,
    "c": 0.13657,
    "h": 105.3
  },
  "luminance": 0.60501
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D8D05D

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

Preview Lab → · Contrast checker → · Palette generator →

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