#D5C356#D5C356

#D5C356 is a light, vivid yellow. Relative luminance 0.538; OKLCH L 81.1% C 0.131 H 100.0°. Best body text is #000000 at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#D5C356
RGBrgb(213, 195, 86)
HSLhsl(51, 60%, 59%)
HSVhsv(51, 60%, 84%)
CMYKcmyk(0%, 8.5%, 59.6%, 16.5%)
CIE-LABlab(78.37, -6.86, 55.80)
CIE-LCHlch(78.37, 56.22, 97.01°)
OKLaboklab(81.12% -0.0227 0.1286)
OKLCHoklch(81.12% 0.131 100)
XYZxyz(48.6373, 53.8502, 16.6345)
Luminance0.5385 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C356 #5668D5
analogous
#D58356 #D5C356 #A7D556
triadic
#D5C356 #56D5C3 #C356D5
tetradic
#D5C356 #56D583 #5668D5 #D556A7
square
#D5C356 #56D583 #5668D5 #D556A7
split-complementary
#D5C356 #56A7D5 #8356D5
monochromatic
#8D7E23 #BEAA2F #D5C356 #E1D487 #EDE6B8

Accessibility & contrast

On white

1.78
#D5C356 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.77
#D5C356 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C356
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C356#FFFFFF#000000##000000
##D5C3561.001.7811.7711.77
#FFFFFF1.781.0021.0021.00
#00000011.7721.001.001.00
##00000011.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE4A
Deuteranopia (green-blind)
#D9C55B
Tritanopia (blue-blind)
#E4B6AB
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d5c356;
/* rgb */ color: rgb(213, 195, 86);
/* oklch */ color: oklch(81.1% 0.131 100.0);
Tailwind
colors: {
  custom: {
    50: '#e5d48a',
    500: '#d5c356',
    950: '#000000',
  },
}
SCSS
$custom: #d5c356;
$custom-light: #e5d48a;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c356",
  "rgb": {
    "r": 213,
    "g": 195,
    "b": 86
  },
  "hsl": {
    "h": 51.496,
    "s": 60.19,
    "l": 58.627
  },
  "oklch": {
    "l": 0.81123,
    "c": 0.13054,
    "h": 100
  },
  "luminance": 0.53848
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D5C356

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

Preview Lab → · Contrast checker → · Palette generator →

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