#D5C53E#D5C53E

#D5C53E is a light, vivid yellow. Relative luminance 0.544; OKLCH L 81.3% C 0.150 H 102.4°. Best body text is #000000 at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#D5C53E
RGBrgb(213, 197, 62)
HSLhsl(54, 64%, 54%)
HSVhsv(54, 71%, 84%)
CMYKcmyk(0%, 7.5%, 70.9%, 16.5%)
CIE-LABlab(78.71, -9.30, 66.04)
CIE-LCHlch(78.71, 66.69, 98.01°)
OKLaboklab(81.33% -0.0323 0.1466)
OKLCHoklch(81.33% 0.15 102.4)
XYZxyz(48.2784, 54.4285, 12.5192)
Luminance0.5443 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C53E #3E4ED5
analogous
#D57A3E #D5C53E #9AD53E
triadic
#D5C53E #3ED5C5 #C53ED5
tetradic
#D5C53E #3ED57A #3E4ED5 #D53E9A
square
#D5C53E #3ED57A #3E4ED5 #D53E9A
split-complementary
#D5C53E #3E9AD5 #7A3ED5
monochromatic
#7D731B #B0A126 #D5C53E #E0D470 #EBE3A3

Accessibility & contrast

On white

1.77
#D5C53E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.89
#D5C53E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C53E
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C53E#FFFFFF#000000##000000
##D5C53E1.001.7711.8911.89
#FFFFFF1.771.0021.0021.00
#00000011.8921.001.001.00
##00000011.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF28
Deuteranopia (green-blind)
#DCC647
Tritanopia (blue-blind)
#E5B7AA
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d5c53e;
/* rgb */ color: rgb(213, 197, 62);
/* oklch */ color: oklch(81.3% 0.150 102.4);
Tailwind
colors: {
  custom: {
    50: '#e6d67c',
    500: '#d5c53e',
    950: '#000000',
  },
}
SCSS
$custom: #d5c53e;
$custom-light: #e6d67c;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c53e",
  "rgb": {
    "r": 213,
    "g": 197,
    "b": 62
  },
  "hsl": {
    "h": 53.642,
    "s": 64.255,
    "l": 53.922
  },
  "oklch": {
    "l": 0.8133,
    "c": 0.15006,
    "h": 102.4
  },
  "luminance": 0.54426
}

Semantic roles & 50–950 ramp

primary
#D5C53E
secondary
#323B85
accent
#52E741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D5C53E

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

Preview Lab → · Contrast checker → · Palette generator →

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