#D5C03E#D5C03E

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

Color values

HEX#D5C03E
RGBrgb(213, 192, 62)
HSLhsl(52, 64%, 54%)
HSVhsv(52, 71%, 84%)
CMYKcmyk(0%, 9.9%, 70.9%, 16.5%)
CIE-LABlab(77.40, -6.73, 64.75)
CIE-LCHlch(77.40, 65.10, 95.94°)
OKLaboklab(80.29% -0.025 0.1438)
OKLCHoklch(80.29% 0.146 99.9)
XYZxyz(47.1619, 52.1954, 12.1470)
Luminance0.5219 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C03E #3E53D5
analogous
#D5753E #D5C03E #9ED53E
triadic
#D5C03E #3ED5C0 #C03ED5
tetradic
#D5C03E #3ED575 #3E53D5 #D53E9E
square
#D5C03E #3ED575 #3E53D5 #D53E9E
split-complementary
#D5C03E #3E9ED5 #753ED5
monochromatic
#7D701B #B09C26 #D5C03E #E0D070 #EBE1A3

Accessibility & contrast

On white

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

On black

11.44
#D5C03E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C03E
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C03E#FFFFFF#000000##000000
##D5C03E1.001.8411.4411.44
#FFFFFF1.841.0021.0021.00
#00000011.4421.001.001.00
##00000011.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5c03e;
/* rgb */ color: rgb(213, 192, 62);
/* oklch */ color: oklch(80.3% 0.146 99.9);
Tailwind
colors: {
  custom: {
    50: '#e6d27b',
    500: '#d5c03e',
    950: '#000000',
  },
}
SCSS
$custom: #d5c03e;
$custom-light: #e6d27b;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c03e",
  "rgb": {
    "r": 213,
    "g": 192,
    "b": 62
  },
  "hsl": {
    "h": 51.656,
    "s": 64.255,
    "l": 53.922
  },
  "oklch": {
    "l": 0.80287,
    "c": 0.14598,
    "h": 99.9
  },
  "luminance": 0.52193
}

Semantic roles & 50–950 ramp

primary
#D5C03E
secondary
#323E85
accent
#58E741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D5C03E

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

Preview Lab → · Contrast checker → · Palette generator →

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