#D5C456#D5C456

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

Color values

HEX#D5C456
RGBrgb(213, 196, 86)
HSLhsl(52, 60%, 59%)
HSVhsv(52, 60%, 84%)
CMYKcmyk(0%, 8%, 59.6%, 16.5%)
CIE-LABlab(78.64, -7.37, 56.09)
CIE-LCHlch(78.64, 56.57, 97.49°)
OKLaboklab(81.33% -0.0241 0.1292)
OKLCHoklch(81.33% 0.131 100.6)
XYZxyz(48.8621, 54.2999, 16.7094)
Luminance0.5430 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C456 #5667D5
analogous
#D58456 #D5C456 #A6D556
triadic
#D5C456 #56D5C4 #C456D5
tetradic
#D5C456 #56D584 #5667D5 #D556A6
square
#D5C456 #56D584 #5667D5 #D556A6
split-complementary
#D5C456 #56A6D5 #8456D5
monochromatic
#8D7F23 #BEAB2F #D5C456 #E1D587 #EDE6B8

Accessibility & contrast

On white

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

On black

11.86
#D5C456 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C456
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C456#FFFFFF#000000##000000
##D5C4561.001.7711.8611.86
#FFFFFF1.771.0021.0021.00
#00000011.8621.001.001.00
##00000011.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5c456;
/* rgb */ color: rgb(213, 196, 86);
/* oklch */ color: oklch(81.3% 0.131 100.6);
Tailwind
colors: {
  custom: {
    50: '#e5d58a',
    500: '#d5c456',
    950: '#000000',
  },
}
SCSS
$custom: #d5c456;
$custom-light: #e5d58a;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c456",
  "rgb": {
    "r": 213,
    "g": 196,
    "b": 86
  },
  "hsl": {
    "h": 51.969,
    "s": 60.19,
    "l": 58.627
  },
  "oklch": {
    "l": 0.81331,
    "c": 0.13142,
    "h": 100.6
  },
  "luminance": 0.54298
}

Semantic roles & 50–950 ramp

primary
#D5C456
secondary
#3C4893
accent
#5AE344
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D5C456

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

Preview Lab → · Contrast checker → · Palette generator →

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