#D5C351#D5C351

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

Color values

HEX#D5C351
RGBrgb(213, 195, 81)
HSLhsl(52, 61%, 58%)
HSVhsv(52, 62%, 84%)
CMYKcmyk(0%, 8.5%, 62%, 16.5%)
CIE-LABlab(78.33, -7.20, 57.96)
CIE-LCHlch(78.33, 58.40, 97.08°)
OKLaboklab(81.07% -0.0242 0.1325)
OKLCHoklch(81.07% 0.135 100.4)
XYZxyz(48.4428, 53.7725, 15.6104)
Luminance0.5377 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C351 #5163D5
analogous
#D58151 #D5C351 #A5D551
triadic
#D5C351 #51D5C3 #C351D5
tetradic
#D5C351 #51D581 #5163D5 #D551A5
square
#D5C351 #51D581 #5163D5 #D551A5
split-complementary
#D5C351 #51A5D5 #8151D5
monochromatic
#8A7C21 #BCA82D #D5C351 #E1D482 #EDE5B4

Accessibility & contrast

On white

1.79
#D5C351 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.75
#D5C351 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C351
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C351#FFFFFF#000000##000000
##D5C3511.001.7911.7511.75
#FFFFFF1.791.0021.0021.00
#00000011.7521.001.001.00
##00000011.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5c351;
/* rgb */ color: rgb(213, 195, 81);
/* oklch */ color: oklch(81.1% 0.135 100.4);
Tailwind
colors: {
  custom: {
    50: '#e5d486',
    500: '#d5c351',
    950: '#000000',
  },
}
SCSS
$custom: #d5c351;
$custom-light: #e5d486;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c351",
  "rgb": {
    "r": 213,
    "g": 195,
    "b": 81
  },
  "hsl": {
    "h": 51.818,
    "s": 61.111,
    "l": 57.647
  },
  "oklch": {
    "l": 0.81072,
    "c": 0.13468,
    "h": 100.4
  },
  "luminance": 0.5377
}

Semantic roles & 50–950 ramp

primary
#D5C351
secondary
#3A4690
accent
#59E444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D5C351

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

Preview Lab → · Contrast checker → · Palette generator →

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