#D5CC80#D5CC80

#D5CC80 is a very light, moderate yellow. Relative luminance 0.589; OKLCH L 83.6% C 0.097 H 102.4°. Best body text is #000000 at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#D5CC80
RGBrgb(213, 204, 128)
HSLhsl(54, 50%, 67%)
HSVhsv(54, 40%, 84%)
CMYKcmyk(0%, 4.2%, 39.9%, 16.5%)
CIE-LABlab(81.23, -7.74, 38.97)
CIE-LCHlch(81.23, 39.73, 101.23°)
OKLaboklab(83.55% -0.0209 0.0951)
OKLCHoklch(83.55% 0.097 102.4)
XYZxyz(52.9307, 58.8918, 28.9969)
Luminance0.5889 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CC80 #8089D5
analogous
#D5A280 #D5CC80 #B4D580
triadic
#D5CC80 #80D5CC #CC80D5
tetradic
#D5CC80 #80D5A2 #8089D5 #D580B4
square
#D5CC80 #80D5A2 #8089D5 #D580B4
split-complementary
#D5CC80 #80B4D5 #A280D5
monochromatic
#A49936 #C6BA52 #D5CC80 #E4DEAE #F3F1DC

Accessibility & contrast

On white

1.64
#D5CC80 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.78
#D5CC80 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CC80
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CC80#FFFFFF#000000##000000
##D5CC801.001.6412.7812.78
#FFFFFF1.641.0021.0021.00
#00000012.7821.001.001.00
##00000012.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C77A
Deuteranopia (green-blind)
#DCCC83
Tritanopia (blue-blind)
#E1C2B9
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d5cc80;
/* rgb */ color: rgb(213, 204, 128);
/* oklch */ color: oklch(83.6% 0.097 102.4);
Tailwind
colors: {
  custom: {
    50: '#e3dba6',
    500: '#d5cc80',
    950: '#000000',
  },
}
SCSS
$custom: #d5cc80;
$custom-light: #e3dba6;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cc80",
  "rgb": {
    "r": 213,
    "g": 204,
    "b": 128
  },
  "hsl": {
    "h": 53.647,
    "s": 50.296,
    "l": 66.863
  },
  "oklch": {
    "l": 0.83551,
    "c": 0.09738,
    "h": 102.4
  },
  "luminance": 0.5889
}

Semantic roles & 50–950 ramp

primary
#D5CC80
secondary
#515AA8
accent
#38BE28
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#16150F
muted
#848480

Preview Lab

Preview with #D5CC80

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

Preview Lab → · Contrast checker → · Palette generator →

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