#D5C656#D5C656

#D5C656 is a light, vivid yellow. Relative luminance 0.552; OKLCH L 81.7% C 0.133 H 101.7°. Best body text is #000000 at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#D5C656
RGBrgb(213, 198, 86)
HSLhsl(53, 60%, 59%)
HSVhsv(53, 60%, 84%)
CMYKcmyk(0%, 7%, 59.6%, 16.5%)
CIE-LABlab(79.16, -8.40, 56.67)
CIE-LCHlch(79.16, 57.29, 98.43°)
OKLaboklab(81.75% -0.0271 0.1304)
OKLCHoklch(81.75% 0.133 101.7)
XYZxyz(49.3162, 55.2081, 16.8608)
Luminance0.5521 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C656 #5665D5
analogous
#D58656 #D5C656 #A4D556
triadic
#D5C656 #56D5C6 #C656D5
tetradic
#D5C656 #56D586 #5665D5 #D556A4
square
#D5C656 #56D586 #5665D5 #D556A4
split-complementary
#D5C656 #56A4D5 #8656D5
monochromatic
#8D8123 #BEAE2F #D5C656 #E1D787 #EDE7B8

Accessibility & contrast

On white

1.74
#D5C656 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.04
#D5C656 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C656
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C656#FFFFFF#000000##000000
##D5C6561.001.7412.0412.04
#FFFFFF1.741.0021.0021.00
#00000012.0421.001.001.00
##00000012.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C04A
Deuteranopia (green-blind)
#DBC75C
Tritanopia (blue-blind)
#E4B9AE
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d5c656;
/* rgb */ color: rgb(213, 198, 86);
/* oklch */ color: oklch(81.7% 0.133 101.7);
Tailwind
colors: {
  custom: {
    50: '#e5d78a',
    500: '#d5c656',
    950: '#000000',
  },
}
SCSS
$custom: #d5c656;
$custom-light: #e5d78a;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c656",
  "rgb": {
    "r": 213,
    "g": 198,
    "b": 86
  },
  "hsl": {
    "h": 52.913,
    "s": 60.19,
    "l": 58.627
  },
  "oklch": {
    "l": 0.81747,
    "c": 0.13321,
    "h": 101.7
  },
  "luminance": 0.55206
}

Semantic roles & 50–950 ramp

primary
#D5C656
secondary
#3C4693
accent
#57E344
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D5C656

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

Preview Lab → · Contrast checker → · Palette generator →

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