#D7CC50#D7CC50

#D7CC50 is a very light, vivid yellow. Relative luminance 0.582; OKLCH L 83.1% C 0.143 H 104.2°. Best body text is #000000 at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#D7CC50
RGBrgb(215, 204, 80)
HSLhsl(55, 63%, 58%)
HSVhsv(55, 63%, 84%)
CMYKcmyk(0%, 5.1%, 62.8%, 15.7%)
CIE-LABlab(80.86, -11.01, 61.16)
CIE-LCHlch(80.86, 62.14, 100.21°)
OKLaboklab(83.12% -0.0353 0.1391)
OKLCHoklch(83.12% 0.144 104.2)
XYZxyz(51.0671, 58.2139, 16.1343)
Luminance0.5821 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CC50 #505BD7
analogous
#D78850 #D7CC50 #9ED750
triadic
#D7CC50 #50D7CC #CC50D7
tetradic
#D7CC50 #50D788 #505BD7 #D7509E
square
#D7CC50 #50D788 #505BD7 #D7509E
split-complementary
#D7CC50 #509ED7 #8850D7
monochromatic
#8C8420 #BEB22B #D7CC50 #E2DB82 #EEE9B4

Accessibility & contrast

On white

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

On black

12.64
#D7CC50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CC50
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CC50#FFFFFF#000000##000000
##D7CC501.001.6612.6412.64
#FFFFFF1.661.0021.0021.00
#00000012.6421.001.001.00
##00000012.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC541
Deuteranopia (green-blind)
#E1CB57
Tritanopia (blue-blind)
#E6BFB2
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d7cc50;
/* rgb */ color: rgb(215, 204, 80);
/* oklch */ color: oklch(83.1% 0.143 104.2);
Tailwind
colors: {
  custom: {
    50: '#e6db87',
    500: '#d7cc50',
    950: '#000000',
  },
}
SCSS
$custom: #d7cc50;
$custom-light: #e6db87;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cc50",
  "rgb": {
    "r": 215,
    "g": 204,
    "b": 80
  },
  "hsl": {
    "h": 55.111,
    "s": 62.791,
    "l": 57.843
  },
  "oklch": {
    "l": 0.83119,
    "c": 0.1435,
    "h": 104.2
  },
  "luminance": 0.58212
}

Semantic roles & 50–950 ramp

primary
#D7CC50
secondary
#394092
accent
#4FE642
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#16140C
muted
#85837F

Preview Lab

Preview with #D7CC50

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

Preview Lab → · Contrast checker → · Palette generator →

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