#D9C03F#D9C03F

#D9C03F is a light, vivid yellow. Relative luminance 0.528; OKLCH L 80.7% C 0.145 H 98.0°. Best body text is #000000 at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#D9C03F
RGBrgb(217, 192, 63)
HSLhsl(50, 67%, 55%)
HSVhsv(50, 71%, 85%)
CMYKcmyk(0%, 11.5%, 71%, 14.9%)
CIE-LABlab(77.76, -4.98, 64.85)
CIE-LCHlch(77.76, 65.05, 94.39°)
OKLaboklab(80.66% -0.0201 0.1441)
OKLCHoklch(80.66% 0.145 98)
XYZxyz(48.3645, 52.8123, 12.3480)
Luminance0.5281 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C03F #3F58D9
analogous
#D9733F #D9C03F #A5D93F
triadic
#D9C03F #3FD9C0 #C03FD9
tetradic
#D9C03F #3FD973 #3F58D9 #D93FA5
square
#D9C03F #3FD973 #3F58D9 #D93FA5
split-complementary
#D9C03F #3FA5D9 #733FD9
monochromatic
#84721A #B79F24 #D9C03F #E3D172 #EDE2A5

Accessibility & contrast

On white

1.82
#D9C03F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.56
#D9C03F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C03F
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C03F#FFFFFF#000000##000000
##D9C03F1.001.8211.5611.56
#FFFFFF1.821.0021.0021.00
#00000011.5621.001.001.00
##00000011.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB2B
Deuteranopia (green-blind)
#D9C447
Tritanopia (blue-blind)
#EAB2A6
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d9c03f;
/* rgb */ color: rgb(217, 192, 63);
/* oklch */ color: oklch(80.7% 0.145 98.0);
Tailwind
colors: {
  custom: {
    50: '#e9d27c',
    500: '#d9c03f',
    950: '#000000',
  },
}
SCSS
$custom: #d9c03f;
$custom-light: #e9d27c;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c03f",
  "rgb": {
    "r": 217,
    "g": 192,
    "b": 63
  },
  "hsl": {
    "h": 50.26,
    "s": 66.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.80665,
    "c": 0.14547,
    "h": 98
  },
  "luminance": 0.5281
}

Semantic roles & 50–950 ramp

primary
#D9C03F
secondary
#32408A
accent
#5AEA3E
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #D9C03F

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

Preview Lab → · Contrast checker → · Palette generator →

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