#D9C03E#D9C03E

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

Color values

HEX#D9C03E
RGBrgb(217, 192, 62)
HSLhsl(50, 67%, 55%)
HSVhsv(50, 71%, 85%)
CMYKcmyk(0%, 11.5%, 71.4%, 14.9%)
CIE-LABlab(77.76, -5.03, 65.23)
CIE-LCHlch(77.76, 65.42, 94.41°)
OKLaboklab(80.66% -0.0204 0.1447)
OKLCHoklch(80.66% 0.146 98)
XYZxyz(48.3368, 52.8012, 12.2021)
Luminance0.5280 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C03E #3E57D9
analogous
#D9733E #D9C03E #A4D93E
triadic
#D9C03E #3ED9C0 #C03ED9
tetradic
#D9C03E #3ED973 #3E57D9 #D93EA4
square
#D9C03E #3ED973 #3E57D9 #D93EA4
split-complementary
#D9C03E #3EA4D9 #733ED9
monochromatic
#83721A #B69E24 #D9C03E #E3D171 #EDE1A4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9C03E#FFFFFF#000000##000000
##D9C03E1.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)
#D3BB29
Deuteranopia (green-blind)
#DAC446
Tritanopia (blue-blind)
#EAB2A6
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d9c03e;
/* rgb */ color: rgb(217, 192, 62);
/* oklch */ color: oklch(80.7% 0.146 98.0);
Tailwind
colors: {
  custom: {
    50: '#e9d27b',
    500: '#d9c03e',
    950: '#000000',
  },
}
SCSS
$custom: #d9c03e;
$custom-light: #e9d27b;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c03e",
  "rgb": {
    "r": 217,
    "g": 192,
    "b": 62
  },
  "hsl": {
    "h": 50.323,
    "s": 67.1,
    "l": 54.706
  },
  "oklch": {
    "l": 0.80657,
    "c": 0.14611,
    "h": 98
  },
  "luminance": 0.52799
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D9C03E

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

Preview Lab → · Contrast checker → · Palette generator →

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