#D5C03A#D5C03A

#D5C03A is a light, vivid yellow. Relative luminance 0.522; OKLCH L 80.3% C 0.148 H 100.1°. Best body text is #000000 at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#D5C03A
RGBrgb(213, 192, 58)
HSLhsl(52, 65%, 53%)
HSVhsv(52, 73%, 84%)
CMYKcmyk(0%, 9.9%, 72.8%, 16.5%)
CIE-LABlab(77.37, -6.92, 66.20)
CIE-LCHlch(77.37, 66.56, 95.97°)
OKLaboklab(80.26% -0.0259 0.1462)
OKLCHoklch(80.26% 0.148 100.1)
XYZxyz(47.0562, 52.1531, 11.5901)
Luminance0.5215 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C03A #3A4FD5
analogous
#D5723A #D5C03A #9CD53A
triadic
#D5C03A #3AD5C0 #C03AD5
tetradic
#D5C03A #3AD572 #3A4FD5 #D53A9C
square
#D5C03A #3AD572 #3A4FD5 #D53A9C
split-complementary
#D5C03A #3A9CD5 #723AD5
monochromatic
#7A6D1A #AD9A25 #D5C03A #E0D06C #EBE09F

Accessibility & contrast

On white

1.84
#D5C03A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.43
#D5C03A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C03A
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C03A#FFFFFF#000000##000000
##D5C03A1.001.8411.4311.43
#FFFFFF1.841.0021.0021.00
#00000011.4321.001.001.00
##00000011.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB23
Deuteranopia (green-blind)
#D8C343
Tritanopia (blue-blind)
#E5B2A6
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d5c03a;
/* rgb */ color: rgb(213, 192, 58);
/* oklch */ color: oklch(80.3% 0.148 100.1);
Tailwind
colors: {
  custom: {
    50: '#e6d279',
    500: '#d5c03a',
    950: '#000000',
  },
}
SCSS
$custom: #d5c03a;
$custom-light: #e6d279;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c03a",
  "rgb": {
    "r": 213,
    "g": 192,
    "b": 58
  },
  "hsl": {
    "h": 51.871,
    "s": 64.854,
    "l": 53.137
  },
  "oklch": {
    "l": 0.80259,
    "c": 0.14844,
    "h": 100.1
  },
  "luminance": 0.52151
}

Semantic roles & 50–950 ramp

primary
#D5C03A
secondary
#313C82
accent
#57E840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D5C03A

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

Preview Lab → · Contrast checker → · Palette generator →

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