#D7CC58#D7CC58

#D7CC58 is a very light, vivid yellow. Relative luminance 0.583; OKLCH L 83.2% C 0.137 H 103.9°. Best body text is #000000 at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#D7CC58
RGBrgb(215, 204, 88)
HSLhsl(55, 61%, 59%)
HSVhsv(55, 59%, 84%)
CMYKcmyk(0%, 5.1%, 59.1%, 15.7%)
CIE-LABlab(80.93, -10.48, 57.79)
CIE-LCHlch(80.93, 58.73, 100.28°)
OKLaboklab(83.2% -0.0329 0.133)
OKLCHoklch(83.2% 0.137 103.9)
XYZxyz(51.3804, 58.3392, 17.7847)
Luminance0.5834 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CC58 #5863D7
analogous
#D78D58 #D7CC58 #A3D758
triadic
#D7CC58 #58D7CC #CC58D7
tetradic
#D7CC58 #58D78D #5863D7 #D758A3
square
#D7CC58 #58D78D #5863D7 #D758A3
split-complementary
#D7CC58 #58A3D7 #8D58D7
monochromatic
#928823 #C3B62F #D7CC58 #E3DB89 #EFEABB

Accessibility & contrast

On white

1.66
#D7CC58 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.67
#D7CC58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CC58
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CC58#FFFFFF#000000##000000
##D7CC581.001.6612.6712.67
#FFFFFF1.661.0021.0021.00
#00000012.6721.001.001.00
##00000012.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC64B
Deuteranopia (green-blind)
#E0CC5E
Tritanopia (blue-blind)
#E6BFB3
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d7cc58;
/* rgb */ color: rgb(215, 204, 88);
/* oklch */ color: oklch(83.2% 0.137 103.9);
Tailwind
colors: {
  custom: {
    50: '#e6db8b',
    500: '#d7cc58',
    950: '#000000',
  },
}
SCSS
$custom: #d7cc58;
$custom-light: #e6db8b;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cc58",
  "rgb": {
    "r": 215,
    "g": 204,
    "b": 88
  },
  "hsl": {
    "h": 54.803,
    "s": 61.353,
    "l": 59.412
  },
  "oklch": {
    "l": 0.83197,
    "c": 0.13703,
    "h": 103.9
  },
  "luminance": 0.58337
}

Semantic roles & 50–950 ramp

primary
#D7CC58
secondary
#3C4497
accent
#51E443
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D7CC58

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

Preview Lab → · Contrast checker → · Palette generator →

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