#D7C558#D7C558

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

Color values

HEX#D7C558
RGBrgb(215, 197, 88)
HSLhsl(51, 61%, 59%)
HSVhsv(51, 59%, 84%)
CMYKcmyk(0%, 8.4%, 59.1%, 15.7%)
CIE-LABlab(79.09, -6.91, 55.75)
CIE-LCHlch(79.09, 56.17, 97.07°)
OKLaboklab(81.74% -0.0227 0.1287)
OKLCHoklch(81.74% 0.131 100)
XYZxyz(49.7539, 55.0862, 17.2426)
Luminance0.5508 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C558 #586AD7
analogous
#D78658 #D7C558 #AAD758
triadic
#D7C558 #58D7C5 #C558D7
tetradic
#D7C558 #58D786 #586AD7 #D758AA
square
#D7C558 #58D786 #586AD7 #D758AA
split-complementary
#D7C558 #58AAD7 #8658D7
monochromatic
#928223 #C3AE2F #D7C558 #E3D689 #EFE7BB

Accessibility & contrast

On white

1.75
#D7C558 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.02
#D7C558 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C558
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C558#FFFFFF#000000##000000
##D7C5581.001.7512.0212.02
#FFFFFF1.751.0021.0021.00
#00000012.0221.001.001.00
##00000012.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C04C
Deuteranopia (green-blind)
#DBC75D
Tritanopia (blue-blind)
#E6B8AD
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d7c558;
/* rgb */ color: rgb(215, 197, 88);
/* oklch */ color: oklch(81.7% 0.131 100.0);
Tailwind
colors: {
  custom: {
    50: '#e6d68b',
    500: '#d7c558',
    950: '#000000',
  },
}
SCSS
$custom: #d7c558;
$custom-light: #e6d68b;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c558",
  "rgb": {
    "r": 215,
    "g": 197,
    "b": 88
  },
  "hsl": {
    "h": 51.496,
    "s": 61.353,
    "l": 59.412
  },
  "oklch": {
    "l": 0.81739,
    "c": 0.13065,
    "h": 100
  },
  "luminance": 0.55084
}

Semantic roles & 50–950 ramp

primary
#D7C558
secondary
#3C4997
accent
#5AE443
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D7C558

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

Preview Lab → · Contrast checker → · Palette generator →

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