#D5C352#D5C352

#D5C352 is a light, vivid yellow. Relative luminance 0.538; OKLCH L 81.1% C 0.134 H 100.3°. Best body text is #000000 at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#D5C352
RGBrgb(213, 195, 82)
HSLhsl(52, 61%, 58%)
HSVhsv(52, 62%, 84%)
CMYKcmyk(0%, 8.5%, 61.5%, 16.5%)
CIE-LABlab(78.34, -7.13, 57.53)
CIE-LCHlch(78.34, 57.97, 97.07°)
OKLaboklab(81.08% -0.0239 0.1317)
OKLCHoklch(81.08% 0.134 100.3)
XYZxyz(48.4806, 53.7876, 15.8094)
Luminance0.5379 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C352 #5264D5
analogous
#D58252 #D5C352 #A5D552
triadic
#D5C352 #52D5C3 #C352D5
tetradic
#D5C352 #52D582 #5264D5 #D552A5
square
#D5C352 #52D582 #5264D5 #D552A5
split-complementary
#D5C352 #52A5D5 #8252D5
monochromatic
#8B7C22 #BCA92E #D5C352 #E1D483 #EDE5B4

Accessibility & contrast

On white

1.79
#D5C352 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.76
#D5C352 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C352
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C352#FFFFFF#000000##000000
##D5C3521.001.7911.7611.76
#FFFFFF1.791.0021.0021.00
#00000011.7621.001.001.00
##00000011.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE45
Deuteranopia (green-blind)
#D9C558
Tritanopia (blue-blind)
#E4B6AB
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d5c352;
/* rgb */ color: rgb(213, 195, 82);
/* oklch */ color: oklch(81.1% 0.134 100.3);
Tailwind
colors: {
  custom: {
    50: '#e5d487',
    500: '#d5c352',
    950: '#000000',
  },
}
SCSS
$custom: #d5c352;
$custom-light: #e5d487;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c352",
  "rgb": {
    "r": 213,
    "g": 195,
    "b": 82
  },
  "hsl": {
    "h": 51.756,
    "s": 60.93,
    "l": 57.843
  },
  "oklch": {
    "l": 0.81082,
    "c": 0.13387,
    "h": 100.3
  },
  "luminance": 0.53786
}

Semantic roles & 50–950 ramp

primary
#D5C352
secondary
#3A4691
accent
#5AE444
background
#FEFEFC
surface
#FDFBF3
border
#D5D4CD
text
#16140C
muted
#84837F

Preview Lab

Preview with #D5C352

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

Preview Lab → · Contrast checker → · Palette generator →

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