#D5C13A#D5C13A

#D5C13A is a light, vivid yellow. Relative luminance 0.526; OKLCH L 80.5% C 0.149 H 100.6°. Best body text is #000000 at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#D5C13A
RGBrgb(213, 193, 58)
HSLhsl(52, 65%, 53%)
HSVhsv(52, 73%, 84%)
CMYKcmyk(0%, 9.4%, 72.8%, 16.5%)
CIE-LABlab(77.63, -7.44, 66.45)
CIE-LCHlch(77.63, 66.87, 96.38°)
OKLaboklab(80.47% -0.0274 0.1467)
OKLCHoklch(80.47% 0.149 100.6)
XYZxyz(47.2765, 52.5937, 11.6636)
Luminance0.5259 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C13A #3A4ED5
analogous
#D5733A #D5C13A #9BD53A
triadic
#D5C13A #3AD5C1 #C13AD5
tetradic
#D5C13A #3AD573 #3A4ED5 #D53A9B
square
#D5C13A #3AD573 #3A4ED5 #D53A9B
split-complementary
#D5C13A #3A9BD5 #733AD5
monochromatic
#7A6E1A #AD9B25 #D5C13A #E0D16C #EBE19F

Accessibility & contrast

On white

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

On black

11.52
#D5C13A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C13A
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C13A#FFFFFF#000000##000000
##D5C13A1.001.8211.5211.52
#FFFFFF1.821.0021.0021.00
#00000011.5221.001.001.00
##00000011.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB22
Deuteranopia (green-blind)
#D9C343
Tritanopia (blue-blind)
#E5B3A7
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d5c13a;
/* rgb */ color: rgb(213, 193, 58);
/* oklch */ color: oklch(80.5% 0.149 100.6);
Tailwind
colors: {
  custom: {
    50: '#e6d379',
    500: '#d5c13a',
    950: '#000000',
  },
}
SCSS
$custom: #d5c13a;
$custom-light: #e6d379;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c13a",
  "rgb": {
    "r": 213,
    "g": 193,
    "b": 58
  },
  "hsl": {
    "h": 52.258,
    "s": 64.854,
    "l": 53.137
  },
  "oklch": {
    "l": 0.80467,
    "c": 0.14924,
    "h": 100.6
  },
  "luminance": 0.52592
}

Semantic roles & 50–950 ramp

primary
#D5C13A
secondary
#313B82
accent
#56E840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D5C13A

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

Preview Lab → · Contrast checker → · Palette generator →

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