#D9D03F#D9D03F

#D9D03F is a very light, vivid yellow. Relative luminance 0.602; OKLCH L 84.0% C 0.159 H 105.8°. Best body text is #000000 at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#D9D03F
RGBrgb(217, 208, 63)
HSLhsl(56, 67%, 55%)
HSVhsv(56, 71%, 85%)
CMYKcmyk(0%, 4.1%, 71%, 14.9%)
CIE-LABlab(81.96, -13.12, 68.96)
CIE-LCHlch(81.96, 70.20, 100.77°)
OKLaboklab(84% -0.0431 0.1528)
OKLCHoklch(84% 0.159 105.8)
XYZxyz(52.0704, 60.2243, 13.5833)
Luminance0.6022 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D03F #3F48D9
analogous
#D9833F #D9D03F #95D93F
triadic
#D9D03F #3FD9D0 #D03FD9
tetradic
#D9D03F #3FD983 #3F48D9 #D93F95
square
#D9D03F #3FD983 #3F48D9 #D93F95
split-complementary
#D9D03F #3F95D9 #833FD9
monochromatic
#847D1A #B7AE24 #D9D03F #E3DD72 #EDE9A5

Accessibility & contrast

On white

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

On black

13.04
#D9D03F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D03F
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D03F#FFFFFF#000000##000000
##D9D03F1.001.6113.0413.04
#FFFFFF1.611.0021.0021.00
#00000013.0421.001.001.00
##00000013.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d9d03f;
/* rgb */ color: rgb(217, 208, 63);
/* oklch */ color: oklch(84.0% 0.159 105.8);
Tailwind
colors: {
  custom: {
    50: '#e9de7d',
    500: '#d9d03f',
    950: '#000000',
  },
}
SCSS
$custom: #d9d03f;
$custom-light: #e9de7d;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d03f",
  "rgb": {
    "r": 217,
    "g": 208,
    "b": 63
  },
  "hsl": {
    "h": 56.494,
    "s": 66.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.83998,
    "c": 0.15874,
    "h": 105.8
  },
  "luminance": 0.60222
}

Semantic roles & 50–950 ramp

primary
#D9D03F
secondary
#32378A
accent
#48EA3E
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150A
muted
#85847D

Preview Lab

Preview with #D9D03F

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

Preview Lab → · Contrast checker → · Palette generator →

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