#D5CC73#D5CC73

#D5CC73 is a very light, moderate yellow. Relative luminance 0.586; OKLCH L 83.4% C 0.111 H 103.4°. Best body text is #000000 at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#D5CC73
RGBrgb(213, 204, 115)
HSLhsl(54, 54%, 64%)
HSVhsv(54, 46%, 84%)
CMYKcmyk(0%, 4.2%, 46%, 16.5%)
CIE-LABlab(81.06, -9.06, 45.24)
CIE-LCHlch(81.06, 46.14, 101.33°)
OKLaboklab(83.35% -0.0259 0.1084)
OKLCHoklch(83.35% 0.111 103.4)
XYZxyz(52.1292, 58.5712, 24.7757)
Luminance0.5857 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CC73 #737CD5
analogous
#D59B73 #D5CC73 #ADD573
triadic
#D5CC73 #73D5CC #CC73D5
tetradic
#D5CC73 #73D59B #737CD5 #D573AD
square
#D5CC73 #73D59B #737CD5 #D573AD
split-complementary
#D5CC73 #73ADD5 #9B73D5
monochromatic
#9E942F #C7BB44 #D5CC73 #E3DDA2 #F1EED1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5CC73#FFFFFF#000000##000000
##D5CC731.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)
#DAC76C
Deuteranopia (green-blind)
#DDCC77
Tritanopia (blue-blind)
#E2C1B7
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d5cc73;
/* rgb */ color: rgb(213, 204, 115);
/* oklch */ color: oklch(83.4% 0.111 103.4);
Tailwind
colors: {
  custom: {
    50: '#e4db9d',
    500: '#d5cc73',
    950: '#000000',
  },
}
SCSS
$custom: #d5cc73;
$custom-light: #e4db9d;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cc73",
  "rgb": {
    "r": 213,
    "g": 204,
    "b": 115
  },
  "hsl": {
    "h": 54.49,
    "s": 53.846,
    "l": 64.314
  },
  "oklch": {
    "l": 0.83354,
    "c": 0.11149,
    "h": 103.4
  },
  "luminance": 0.5857
}

Semantic roles & 50–950 ramp

primary
#D5CC73
secondary
#4A52A3
accent
#33C124
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D5CC73

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

Preview Lab → · Contrast checker → · Palette generator →

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