#D5C073#D5C073

#D5C073 is a light, moderate yellow. Relative luminance 0.531; OKLCH L 80.9% C 0.100 H 94.6°. Best body text is #000000 at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#D5C073
RGBrgb(213, 192, 115)
HSLhsl(47, 54%, 64%)
HSVhsv(47, 46%, 84%)
CMYKcmyk(0%, 9.9%, 46%, 16.5%)
CIE-LABlab(77.93, -2.88, 41.36)
CIE-LCHlch(77.93, 41.46, 93.99°)
OKLaboklab(80.88% -0.008 0.0998)
OKLCHoklch(80.88% 0.1 94.6)
XYZxyz(49.3861, 53.0851, 23.8614)
Luminance0.5308 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C073 #7388D5
analogous
#D58F73 #D5C073 #B9D573
triadic
#D5C073 #73D5C0 #C073D5
tetradic
#D5C073 #73D58F #7388D5 #D573B9
square
#D5C073 #73D58F #7388D5 #D573B9
split-complementary
#D5C073 #73B9D5 #8F73D5
monochromatic
#9E862F #C7AB44 #D5C073 #E3D5A2 #F1EAD1

Accessibility & contrast

On white

1.81
#D5C073 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.62
#D5C073 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C073
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C073#FFFFFF#000000##000000
##D5C0731.001.8111.6211.62
#FFFFFF1.811.0021.0021.00
#00000011.6221.001.001.00
##00000011.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBD6D
Deuteranopia (green-blind)
#D4C476
Tritanopia (blue-blind)
#E2B5AD
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d5c073;
/* rgb */ color: rgb(213, 192, 115);
/* oklch */ color: oklch(80.9% 0.100 94.6);
Tailwind
colors: {
  custom: {
    50: '#e4d29c',
    500: '#d5c073',
    950: '#000000',
  },
}
SCSS
$custom: #d5c073;
$custom-light: #e4d29c;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c073",
  "rgb": {
    "r": 213,
    "g": 192,
    "b": 115
  },
  "hsl": {
    "h": 47.143,
    "s": 53.846,
    "l": 64.314
  },
  "oklch": {
    "l": 0.80875,
    "c": 0.10011,
    "h": 94.6
  },
  "luminance": 0.53083
}

Semantic roles & 50–950 ramp

primary
#D5C073
secondary
#4A5DA3
accent
#46C124
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16140E
muted
#84837F

Preview Lab

Preview with #D5C073

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

Preview Lab → · Contrast checker → · Palette generator →

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