#D5C55A#D5C55A

#D5C55A is a light, vivid yellow. Relative luminance 0.548; OKLCH L 81.6% C 0.129 H 100.9°. Best body text is #000000 at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#D5C55A
RGBrgb(213, 197, 90)
HSLhsl(52, 59%, 59%)
HSVhsv(52, 58%, 84%)
CMYKcmyk(0%, 7.5%, 57.7%, 16.5%)
CIE-LABlab(78.94, -7.60, 54.62)
CIE-LCHlch(78.94, 55.15, 97.92°)
OKLaboklab(81.58% -0.0243 0.1265)
OKLCHoklch(81.58% 0.129 100.9)
XYZxyz(49.2541, 54.8188, 17.6575)
Luminance0.5482 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C55A #5A6AD5
analogous
#D5885A #D5C55A #A8D55A
triadic
#D5C55A #5AD5C5 #C55AD5
tetradic
#D5C55A #5AD588 #5A6AD5 #D55AA8
square
#D5C55A #5AD588 #5A6AD5 #D55AA8
split-complementary
#D5C55A #5AA8D5 #885AD5
monochromatic
#908225 #C1AE31 #D5C55A #E1D68B #EEE7BC

Accessibility & contrast

On white

1.76
#D5C55A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.96
#D5C55A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C55A
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C55A#FFFFFF#000000##000000
##D5C55A1.001.7611.9611.96
#FFFFFF1.761.0021.0021.00
#00000011.9621.001.001.00
##00000011.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C04F
Deuteranopia (green-blind)
#DAC65F
Tritanopia (blue-blind)
#E4B9AD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d5c55a;
/* rgb */ color: rgb(213, 197, 90);
/* oklch */ color: oklch(81.6% 0.129 100.9);
Tailwind
colors: {
  custom: {
    50: '#e5d68c',
    500: '#d5c55a',
    950: '#000000',
  },
}
SCSS
$custom: #d5c55a;
$custom-light: #e5d68c;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c55a",
  "rgb": {
    "r": 213,
    "g": 197,
    "b": 90
  },
  "hsl": {
    "h": 52.195,
    "s": 59.42,
    "l": 59.412
  },
  "oklch": {
    "l": 0.81582,
    "c": 0.12886,
    "h": 100.9
  },
  "luminance": 0.54817
}

Semantic roles & 50–950 ramp

primary
#D5C55A
secondary
#3E4996
accent
#5AE345
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D5C55A

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

Preview Lab → · Contrast checker → · Palette generator →

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