#D5C455#D5C455

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

Color values

HEX#D5C455
RGBrgb(213, 196, 85)
HSLhsl(52, 60%, 58%)
HSVhsv(52, 60%, 84%)
CMYKcmyk(0%, 8%, 60.1%, 16.5%)
CIE-LABlab(78.63, -7.44, 56.52)
CIE-LCHlch(78.63, 57.01, 97.50°)
OKLaboklab(81.32% -0.0245 0.13)
OKLCHoklch(81.32% 0.132 100.7)
XYZxyz(48.8221, 54.2839, 16.4987)
Luminance0.5428 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C455 #5566D5
analogous
#D58455 #D5C455 #A6D555
triadic
#D5C455 #55D5C4 #C455D5
tetradic
#D5C455 #55D584 #5566D5 #D555A6
square
#D5C455 #55D584 #5566D5 #D555A6
split-complementary
#D5C455 #55A6D5 #8455D5
monochromatic
#8D7F23 #BEAB2F #D5C455 #E1D586 #EDE6B7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5C455#FFFFFF#000000##000000
##D5C4551.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)
#D5BF49
Deuteranopia (green-blind)
#DAC65B
Tritanopia (blue-blind)
#E4B7AC
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d5c455;
/* rgb */ color: rgb(213, 196, 85);
/* oklch */ color: oklch(81.3% 0.132 100.7);
Tailwind
colors: {
  custom: {
    50: '#e5d589',
    500: '#d5c455',
    950: '#000000',
  },
}
SCSS
$custom: #d5c455;
$custom-light: #e5d589;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c455",
  "rgb": {
    "r": 213,
    "g": 196,
    "b": 85
  },
  "hsl": {
    "h": 52.031,
    "s": 60.377,
    "l": 58.431
  },
  "oklch": {
    "l": 0.8132,
    "c": 0.13226,
    "h": 100.7
  },
  "luminance": 0.54282
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D5C455

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

Preview Lab → · Contrast checker → · Palette generator →

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