#D5C577#D5C577

#D5C577 is a light, moderate yellow. Relative luminance 0.554; OKLCH L 82.0% C 0.100 H 98.0°. Best body text is #000000 at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#D5C577
RGBrgb(213, 197, 119)
HSLhsl(50, 53%, 65%)
HSVhsv(50, 44%, 84%)
CMYKcmyk(0%, 7.5%, 44.1%, 16.5%)
CIE-LABlab(79.28, -5.08, 41.04)
CIE-LCHlch(79.28, 41.35, 97.05°)
OKLaboklab(81.96% -0.014 0.0993)
OKLCHoklch(81.96% 0.1 98)
XYZxyz(50.7379, 55.4123, 25.4722)
Luminance0.5541 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C577 #7787D5
analogous
#D59677 #D5C577 #B6D577
triadic
#D5C577 #77D5C5 #C577D5
tetradic
#D5C577 #77D596 #7787D5 #D577B6
square
#D5C577 #77D596 #7787D5 #D577B6
split-complementary
#D5C577 #77B6D5 #9677D5
monochromatic
#A08D31 #C7B148 #D5C577 #E3D9A6 #F2EDD5

Accessibility & contrast

On white

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

On black

12.08
#D5C577 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C577
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C577#FFFFFF#000000##000000
##D5C5771.001.7412.0812.08
#FFFFFF1.741.0021.0021.00
#00000012.0821.001.001.00
##00000012.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C171
Deuteranopia (green-blind)
#D7C77A
Tritanopia (blue-blind)
#E2BBB2
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d5c577;
/* rgb */ color: rgb(213, 197, 119);
/* oklch */ color: oklch(82.0% 0.100 98.0);
Tailwind
colors: {
  custom: {
    50: '#e3d69f',
    500: '#d5c577',
    950: '#000000',
  },
}
SCSS
$custom: #d5c577;
$custom-light: #e3d69f;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c577",
  "rgb": {
    "r": 213,
    "g": 197,
    "b": 119
  },
  "hsl": {
    "h": 49.787,
    "s": 52.809,
    "l": 65.098
  },
  "oklch": {
    "l": 0.81963,
    "c": 0.10029,
    "h": 98
  },
  "luminance": 0.55411
}

Semantic roles & 50–950 ramp

primary
#D5C577
secondary
#4C5BA4
accent
#40C025
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16140F
muted
#848380

Preview Lab

Preview with #D5C577

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

Preview Lab → · Contrast checker → · Palette generator →

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