#D5CC72#D5CC72

#D5CC72 is a very light, moderate yellow. Relative luminance 0.585; OKLCH L 83.3% C 0.113 H 103.5°. Best body text is #000000 at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#D5CC72
RGBrgb(213, 204, 114)
HSLhsl(55, 54%, 64%)
HSVhsv(55, 46%, 84%)
CMYKcmyk(0%, 4.2%, 46.5%, 16.5%)
CIE-LABlab(81.04, -9.16, 45.71)
CIE-LCHlch(81.04, 46.62, 101.33°)
OKLaboklab(83.34% -0.0262 0.1094)
OKLCHoklch(83.34% 0.113 103.5)
XYZxyz(52.0720, 58.5483, 24.4743)
Luminance0.5855 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CC72 #727BD5
analogous
#D59B72 #D5CC72 #ADD572
triadic
#D5CC72 #72D5CC #CC72D5
tetradic
#D5CC72 #72D59B #727BD5 #D572AD
square
#D5CC72 #72D59B #727BD5 #D572AD
split-complementary
#D5CC72 #72ADD5 #9B72D5
monochromatic
#9E942F #C7BB43 #D5CC72 #E3DDA1 #F1EED0

Accessibility & contrast

On white

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

On black

12.71
#D5CC72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CC72
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CC72#FFFFFF#000000##000000
##D5CC721.001.6512.7112.71
#FFFFFF1.651.0021.0021.00
#00000012.7121.001.001.00
##00000012.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC66A
Deuteranopia (green-blind)
#DDCB76
Tritanopia (blue-blind)
#E2C1B7
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d5cc72;
/* rgb */ color: rgb(213, 204, 114);
/* oklch */ color: oklch(83.3% 0.113 103.5);
Tailwind
colors: {
  custom: {
    50: '#e4db9c',
    500: '#d5cc72',
    950: '#000000',
  },
}
SCSS
$custom: #d5cc72;
$custom-light: #e4db9c;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cc72",
  "rgb": {
    "r": 213,
    "g": 204,
    "b": 114
  },
  "hsl": {
    "h": 54.545,
    "s": 54.098,
    "l": 64.118
  },
  "oklch": {
    "l": 0.8334,
    "c": 0.11252,
    "h": 103.5
  },
  "luminance": 0.58547
}

Semantic roles & 50–950 ramp

primary
#D5CC72
secondary
#4951A2
accent
#32C224
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D5CC72

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

Preview Lab → · Contrast checker → · Palette generator →

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