#D5C454#D5C454

#D5C454 is a light, vivid yellow. Relative luminance 0.543; OKLCH L 81.3% C 0.133 H 100.7°. Best body text is #000000 at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#D5C454
RGBrgb(213, 196, 84)
HSLhsl(52, 61%, 58%)
HSVhsv(52, 61%, 84%)
CMYKcmyk(0%, 8%, 60.6%, 16.5%)
CIE-LABlab(78.62, -7.51, 56.96)
CIE-LCHlch(78.62, 57.45, 97.51°)
OKLaboklab(81.31% -0.0248 0.1308)
OKLCHoklch(81.31% 0.133 100.7)
XYZxyz(48.7826, 54.2681, 16.2910)
Luminance0.5427 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C454 #5465D5
analogous
#D58354 #D5C454 #A5D554
triadic
#D5C454 #54D5C4 #C454D5
tetradic
#D5C454 #54D583 #5465D5 #D554A5
square
#D5C454 #54D583 #5465D5 #D554A5
split-complementary
#D5C454 #54A5D5 #8354D5
monochromatic
#8C7E22 #BDAA2E #D5C454 #E1D585 #EDE6B6

Accessibility & contrast

On white

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

On black

11.85
#D5C454 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C454
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C454#FFFFFF#000000##000000
##D5C4541.001.7711.8511.85
#FFFFFF1.771.0021.0021.00
#00000011.8521.001.001.00
##00000011.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF48
Deuteranopia (green-blind)
#DAC65A
Tritanopia (blue-blind)
#E4B7AC
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d5c454;
/* rgb */ color: rgb(213, 196, 84);
/* oklch */ color: oklch(81.3% 0.133 100.7);
Tailwind
colors: {
  custom: {
    50: '#e5d588',
    500: '#d5c454',
    950: '#000000',
  },
}
SCSS
$custom: #d5c454;
$custom-light: #e5d588;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c454",
  "rgb": {
    "r": 213,
    "g": 196,
    "b": 84
  },
  "hsl": {
    "h": 52.093,
    "s": 60.563,
    "l": 58.235
  },
  "oklch": {
    "l": 0.8131,
    "c": 0.1331,
    "h": 100.7
  },
  "luminance": 0.54266
}

Semantic roles & 50–950 ramp

primary
#D5C454
secondary
#3B4792
accent
#59E444
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D5C454

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

Preview Lab → · Contrast checker → · Palette generator →

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