#D5C33A#D5C33A

#D5C33A is a light, vivid yellow. Relative luminance 0.535; OKLCH L 80.9% C 0.151 H 101.6°. Best body text is #000000 at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#D5C33A
RGBrgb(213, 195, 58)
HSLhsl(53, 65%, 53%)
HSVhsv(53, 73%, 84%)
CMYKcmyk(0%, 8.5%, 72.8%, 16.5%)
CIE-LABlab(78.16, -8.46, 66.96)
CIE-LCHlch(78.16, 67.49, 97.20°)
OKLaboklab(80.88% -0.0303 0.1478)
OKLCHoklch(80.88% 0.151 101.6)
XYZxyz(47.7216, 53.4840, 11.8119)
Luminance0.5348 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C33A #3A4CD5
analogous
#D5753A #D5C33A #9AD53A
triadic
#D5C33A #3AD5C3 #C33AD5
tetradic
#D5C33A #3AD575 #3A4CD5 #D53A9A
square
#D5C33A #3AD575 #3A4CD5 #D53A9A
split-complementary
#D5C33A #3A9AD5 #753AD5
monochromatic
#7A6F1A #AD9D25 #D5C33A #E0D26C #EBE29F

Accessibility & contrast

On white

1.80
#D5C33A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.70
#D5C33A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C33A
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C33A#FFFFFF#000000##000000
##D5C33A1.001.8011.7011.70
#FFFFFF1.801.0021.0021.00
#00000011.7021.001.001.00
##00000011.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD22
Deuteranopia (green-blind)
#DAC543
Tritanopia (blue-blind)
#E5B5A8
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d5c33a;
/* rgb */ color: rgb(213, 195, 58);
/* oklch */ color: oklch(80.9% 0.151 101.6);
Tailwind
colors: {
  custom: {
    50: '#e6d479',
    500: '#d5c33a',
    950: '#000000',
  },
}
SCSS
$custom: #d5c33a;
$custom-light: #e6d479;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c33a",
  "rgb": {
    "r": 213,
    "g": 195,
    "b": 58
  },
  "hsl": {
    "h": 53.032,
    "s": 64.854,
    "l": 53.137
  },
  "oklch": {
    "l": 0.80884,
    "c": 0.15084,
    "h": 101.6
  },
  "luminance": 0.53482
}

Semantic roles & 50–950 ramp

primary
#D5C33A
secondary
#313A82
accent
#53E840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D5C33A

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

Preview Lab → · Contrast checker → · Palette generator →

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