#D8D05B#D8D05B

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

Color values

HEX#D8D05B
RGBrgb(216, 208, 91)
HSLhsl(56, 62%, 60%)
HSVhsv(56, 58%, 85%)
CMYKcmyk(0%, 3.7%, 57.9%, 15.3%)
CIE-LABlab(82.09, -11.88, 57.78)
CIE-LCHlch(82.09, 58.99, 101.61°)
OKLaboklab(84.15% -0.0366 0.1334)
OKLCHoklch(84.15% 0.138 105.4)
XYZxyz(52.7648, 60.4677, 18.7875)
Luminance0.6047 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D05B #5B63D8
analogous
#D8915B #D8D05B #A1D85B
triadic
#D8D05B #5BD8D0 #D05BD8
tetradic
#D8D05B #5BD891 #5B63D8 #D85BA1
square
#D8D05B #5BD891 #5B63D8 #D85BA1
split-complementary
#D8D05B #5BA1D8 #915BD8
monochromatic
#958E23 #C7BD2F #D8D05B #E4DE8C #F0ECBE

Accessibility & contrast

On white

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

On black

13.09
#D8D05B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D05B
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D05B#FFFFFF#000000##000000
##D8D05B1.001.6013.0913.09
#FFFFFF1.601.0021.0021.00
#00000013.0921.001.001.00
##00000013.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C94E
Deuteranopia (green-blind)
#E3CF61
Tritanopia (blue-blind)
#E6C3B7
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d8d05b;
/* rgb */ color: rgb(216, 208, 91);
/* oklch */ color: oklch(84.2% 0.138 105.4);
Tailwind
colors: {
  custom: {
    50: '#e7de8d',
    500: '#d8d05b',
    950: '#000000',
  },
}
SCSS
$custom: #d8d05b;
$custom-light: #e7de8d;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d05b",
  "rgb": {
    "r": 216,
    "g": 208,
    "b": 91
  },
  "hsl": {
    "h": 56.16,
    "s": 61.576,
    "l": 60.196
  },
  "oklch": {
    "l": 0.84152,
    "c": 0.13829,
    "h": 105.4
  },
  "luminance": 0.60466
}

Semantic roles & 50–950 ramp

primary
#D8D05B
secondary
#3D439A
accent
#27C91C
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D8D05B

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

Preview Lab → · Contrast checker → · Palette generator →

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