#D8D03F#D8D03F

#D8D03F is a very light, vivid yellow. Relative luminance 0.601; OKLCH L 83.9% C 0.159 H 106.2°. Best body text is #000000 at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#D8D03F
RGBrgb(216, 208, 63)
HSLhsl(57, 66%, 55%)
HSVhsv(57, 71%, 85%)
CMYKcmyk(0%, 3.7%, 70.8%, 15.3%)
CIE-LABlab(81.88, -13.54, 68.85)
CIE-LCHlch(81.88, 70.17, 101.12°)
OKLaboklab(83.91% -0.0443 0.1526)
OKLCHoklch(83.91% 0.159 106.2)
XYZxyz(51.7740, 60.0714, 13.5694)
Luminance0.6007 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D03F #3F47D8
analogous
#D8843F #D8D03F #93D83F
triadic
#D8D03F #3FD8D0 #D03FD8
tetradic
#D8D03F #3FD884 #3F47D8 #D83F93
square
#D8D03F #3FD884 #3F47D8 #D83F93
split-complementary
#D8D03F #3F93D8 #843FD8
monochromatic
#827D1A #B5AD25 #D8D03F #E2DC72 #EDE9A5

Accessibility & contrast

On white

1.61
#D8D03F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.01
#D8D03F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D03F
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D03F#FFFFFF#000000##000000
##D8D03F1.001.6113.0113.01
#FFFFFF1.611.0021.0021.00
#00000013.0121.001.001.00
##00000013.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C826
Deuteranopia (green-blind)
#E5CE49
Tritanopia (blue-blind)
#E8C2B4
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d8d03f;
/* rgb */ color: rgb(216, 208, 63);
/* oklch */ color: oklch(83.9% 0.159 106.2);
Tailwind
colors: {
  custom: {
    50: '#e8de7d',
    500: '#d8d03f',
    950: '#000000',
  },
}
SCSS
$custom: #d8d03f;
$custom-light: #e8de7d;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d03f",
  "rgb": {
    "r": 216,
    "g": 208,
    "b": 63
  },
  "hsl": {
    "h": 56.863,
    "s": 66.234,
    "l": 54.706
  },
  "oklch": {
    "l": 0.83912,
    "c": 0.15887,
    "h": 106.2
  },
  "luminance": 0.6007
}

Semantic roles & 50–950 ramp

primary
#D8D03F
secondary
#323789
accent
#48E93F
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150A
muted
#85847D

Preview Lab

Preview with #D8D03F

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

Preview Lab → · Contrast checker → · Palette generator →

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