#D5CC78#D5CC78

#D5CC78 is a very light, moderate yellow. Relative luminance 0.587; OKLCH L 83.4% C 0.106 H 103.1°. Best body text is #000000 at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#D5CC78
RGBrgb(213, 204, 120)
HSLhsl(54, 53%, 65%)
HSVhsv(54, 44%, 84%)
CMYKcmyk(0%, 4.2%, 43.7%, 16.5%)
CIE-LABlab(81.12, -8.57, 42.84)
CIE-LCHlch(81.12, 43.69, 101.32°)
OKLaboklab(83.43% -0.024 0.1034)
OKLCHoklch(83.43% 0.106 103.1)
XYZxyz(52.4247, 58.6894, 26.3323)
Luminance0.5869 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CC78 #7881D5
analogous
#D59E78 #D5CC78 #AFD578
triadic
#D5CC78 #78D5CC #CC78D5
tetradic
#D5CC78 #78D59E #7881D5 #D578AF
square
#D5CC78 #78D59E #7881D5 #D578AF
split-complementary
#D5CC78 #78AFD5 #9E78D5
monochromatic
#A19632 #C6BA49 #D5CC78 #E4DEA7 #F2EFD5

Accessibility & contrast

On white

1.65
#D5CC78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.74
#D5CC78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CC78
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CC78#FFFFFF#000000##000000
##D5CC781.001.6512.7412.74
#FFFFFF1.651.0021.0021.00
#00000012.7421.001.001.00
##00000012.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC771
Deuteranopia (green-blind)
#DDCC7C
Tritanopia (blue-blind)
#E1C2B8
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d5cc78;
/* rgb */ color: rgb(213, 204, 120);
/* oklch */ color: oklch(83.4% 0.106 103.1);
Tailwind
colors: {
  custom: {
    50: '#e3dba0',
    500: '#d5cc78',
    950: '#000000',
  },
}
SCSS
$custom: #d5cc78;
$custom-light: #e3dba0;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cc78",
  "rgb": {
    "r": 213,
    "g": 204,
    "b": 120
  },
  "hsl": {
    "h": 54.194,
    "s": 52.542,
    "l": 65.294
  },
  "oklch": {
    "l": 0.83427,
    "c": 0.10618,
    "h": 103.1
  },
  "luminance": 0.58688
}

Semantic roles & 50–950 ramp

primary
#D5CC78
secondary
#4C55A5
accent
#34C026
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16150F
muted
#848480

Preview Lab

Preview with #D5CC78

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

Preview Lab → · Contrast checker → · Palette generator →

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