#D5C55B#D5C55B

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

Color values

HEX#D5C55B
RGBrgb(213, 197, 91)
HSLhsl(52, 59%, 60%)
HSVhsv(52, 57%, 84%)
CMYKcmyk(0%, 7.5%, 57.3%, 16.5%)
CIE-LABlab(78.95, -7.53, 54.17)
CIE-LCHlch(78.95, 54.69, 97.91°)
OKLaboklab(81.59% -0.024 0.1257)
OKLCHoklch(81.59% 0.128 100.8)
XYZxyz(49.2969, 54.8359, 17.8832)
Luminance0.5483 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C55B #5B6BD5
analogous
#D5885B #D5C55B #A8D55B
triadic
#D5C55B #5BD5C5 #C55BD5
tetradic
#D5C55B #5BD588 #5B6BD5 #D55BA8
square
#D5C55B #5BD588 #5B6BD5 #D55BA8
split-complementary
#D5C55B #5BA8D5 #885BD5
monochromatic
#918225 #C1AE32 #D5C55B #E1D68C #EEE7BC

Accessibility & contrast

On white

1.75
#D5C55B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.97
#D5C55B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C55B
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C55B#FFFFFF#000000##000000
##D5C55B1.001.7511.9711.97
#FFFFFF1.751.0021.0021.00
#00000011.9721.001.001.00
##00000011.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C050
Deuteranopia (green-blind)
#DAC660
Tritanopia (blue-blind)
#E4B9AE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d5c55b;
/* rgb */ color: rgb(213, 197, 91);
/* oklch */ color: oklch(81.6% 0.128 100.8);
Tailwind
colors: {
  custom: {
    50: '#e5d68d',
    500: '#d5c55b',
    950: '#000000',
  },
}
SCSS
$custom: #d5c55b;
$custom-light: #e5d68d;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c55b",
  "rgb": {
    "r": 213,
    "g": 197,
    "b": 91
  },
  "hsl": {
    "h": 52.131,
    "s": 59.223,
    "l": 59.608
  },
  "oklch": {
    "l": 0.81593,
    "c": 0.12797,
    "h": 100.8
  },
  "luminance": 0.54834
}

Semantic roles & 50–950 ramp

primary
#D5C55B
secondary
#3E4A96
accent
#5AE245
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D5C55B

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

Preview Lab → · Contrast checker → · Palette generator →

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