#D5C159#D5C159

#D5C159 is a light, vivid yellow. Relative luminance 0.530; OKLCH L 80.7% C 0.126 H 98.5°. Best body text is #000000 at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#D5C159
RGBrgb(213, 193, 89)
HSLhsl(50, 60%, 59%)
HSVhsv(50, 58%, 84%)
CMYKcmyk(0%, 9.4%, 58.2%, 16.5%)
CIE-LABlab(77.88, -5.61, 53.88)
CIE-LCHlch(77.88, 54.17, 95.95°)
OKLaboklab(80.74% -0.0187 0.1248)
OKLCHoklch(80.74% 0.126 98.5)
XYZxyz(48.3156, 53.0094, 17.1361)
Luminance0.5301 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C159 #596DD5
analogous
#D58359 #D5C159 #ABD559
triadic
#D5C159 #59D5C1 #C159D5
tetradic
#D5C159 #59D583 #596DD5 #D559AB
square
#D5C159 #59D583 #596DD5 #D559AB
split-complementary
#D5C159 #59ABD5 #8359D5
monochromatic
#8F7E24 #C0A931 #D5C159 #E1D38A #EEE5BB

Accessibility & contrast

On white

1.81
#D5C159 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.60
#D5C159 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C159
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C159#FFFFFF#000000##000000
##D5C1591.001.8111.6011.60
#FFFFFF1.811.0021.0021.00
#00000011.6021.001.001.00
##00000011.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BC4E
Deuteranopia (green-blind)
#D7C45E
Tritanopia (blue-blind)
#E4B4AA
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d5c159;
/* rgb */ color: rgb(213, 193, 89);
/* oklch */ color: oklch(80.7% 0.126 98.5);
Tailwind
colors: {
  custom: {
    50: '#e5d38b',
    500: '#d5c159',
    950: '#000000',
  },
}
SCSS
$custom: #d5c159;
$custom-light: #e5d38b;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c159",
  "rgb": {
    "r": 213,
    "g": 193,
    "b": 89
  },
  "hsl": {
    "h": 50.323,
    "s": 59.615,
    "l": 59.216
  },
  "oklch": {
    "l": 0.80741,
    "c": 0.12624,
    "h": 98.5
  },
  "luminance": 0.53007
}

Semantic roles & 50–950 ramp

primary
#D5C159
secondary
#3D4B95
accent
#5EE345
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D5C159

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

Preview Lab → · Contrast checker → · Palette generator →

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