#D5C78E#D5C78E

#D5C78E is a very light, moderate yellow. Relative luminance 0.569; OKLCH L 82.8% C 0.076 H 96.0°. Best body text is #000000 at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#D5C78E
RGBrgb(213, 199, 142)
HSLhsl(48, 46%, 70%)
HSVhsv(48, 33%, 84%)
CMYKcmyk(0%, 6.6%, 33.3%, 16.5%)
CIE-LABlab(80.15, -3.55, 30.36)
CIE-LCHlch(80.15, 30.56, 96.67°)
OKLaboklab(82.77% -0.0079 0.0757)
OKLCHoklch(82.77% 0.076 96)
XYZxyz(52.7472, 56.9474, 33.7993)
Luminance0.5695 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C78E #8E9CD5
analogous
#D5A48E #D5C78E #C0D58E
triadic
#D5C78E #8ED5C7 #C78ED5
tetradic
#D5C78E #8ED5A4 #8E9CD5 #D58EC0
square
#D5C78E #8ED5A4 #8E9CD5 #D58EC0
split-complementary
#D5C78E #8EC0D5 #A48ED5
monochromatic
#AA953F #C4B161 #D5C78E #E6DDBB #F6F3E7

Accessibility & contrast

On white

1.70
#D5C78E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.39
#D5C78E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C78E
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C78E#FFFFFF#000000##000000
##D5C78E1.001.7012.3912.39
#FFFFFF1.701.0021.0021.00
#00000012.3921.001.001.00
##00000012.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2C48A
Deuteranopia (green-blind)
#D6C990
Tritanopia (blue-blind)
#E0BFB8
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d5c78e;
/* rgb */ color: rgb(213, 199, 142);
/* oklch */ color: oklch(82.8% 0.076 96.0);
Tailwind
colors: {
  custom: {
    50: '#e3d7af',
    500: '#d5c78e',
    950: '#000000',
  },
}
SCSS
$custom: #d5c78e;
$custom-light: #e3d7af;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c78e",
  "rgb": {
    "r": 213,
    "g": 199,
    "b": 142
  },
  "hsl": {
    "h": 48.169,
    "s": 45.806,
    "l": 69.608
  },
  "oklch": {
    "l": 0.82767,
    "c": 0.07608,
    "h": 96
  },
  "luminance": 0.56946
}

Semantic roles & 50–950 ramp

primary
#D5C78E
secondary
#5C6CAB
accent
#48B92C
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #D5C78E

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

Preview Lab → · Contrast checker → · Palette generator →

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