#D7CC55#D7CC55

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

Color values

HEX#D7CC55
RGBrgb(215, 204, 85)
HSLhsl(55, 62%, 59%)
HSVhsv(55, 60%, 84%)
CMYKcmyk(0%, 5.1%, 60.5%, 15.7%)
CIE-LABlab(80.90, -10.69, 59.07)
CIE-LCHlch(80.90, 60.03, 100.25°)
OKLaboklab(83.17% -0.0338 0.1354)
OKLCHoklch(83.17% 0.14 104)
XYZxyz(51.2587, 58.2905, 17.1437)
Luminance0.5829 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CC55 #5560D7
analogous
#D78B55 #D7CC55 #A1D755
triadic
#D7CC55 #55D7CC #CC55D7
tetradic
#D7CC55 #55D78B #5560D7 #D755A1
square
#D7CC55 #55D78B #5560D7 #D755A1
split-complementary
#D7CC55 #55A1D7 #8B55D7
monochromatic
#908622 #C1B52D #D7CC55 #E3DB87 #EEEAB8

Accessibility & contrast

On white

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

On black

12.66
#D7CC55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CC55
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CC55#FFFFFF#000000##000000
##D7CC551.001.6612.6612.66
#FFFFFF1.661.0021.0021.00
#00000012.6621.001.001.00
##00000012.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7cc55;
/* rgb */ color: rgb(215, 204, 85);
/* oklch */ color: oklch(83.2% 0.140 104.0);
Tailwind
colors: {
  custom: {
    50: '#e6db8a',
    500: '#d7cc55',
    950: '#000000',
  },
}
SCSS
$custom: #d7cc55;
$custom-light: #e6db8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cc55",
  "rgb": {
    "r": 215,
    "g": 204,
    "b": 85
  },
  "hsl": {
    "h": 54.923,
    "s": 61.905,
    "l": 58.824
  },
  "oklch": {
    "l": 0.83167,
    "c": 0.13953,
    "h": 104
  },
  "luminance": 0.58289
}

Semantic roles & 50–950 ramp

primary
#D7CC55
secondary
#3B4395
accent
#51E543
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D7CC55

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

Preview Lab → · Contrast checker → · Palette generator →

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