#D5C779#D5C779

#D5C779 is a very light, moderate yellow. Relative luminance 0.564; OKLCH L 82.4% C 0.100 H 99.3°. Best body text is #000000 at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#D5C779
RGBrgb(213, 199, 121)
HSLhsl(51, 52%, 65%)
HSVhsv(51, 43%, 84%)
CMYKcmyk(0%, 6.6%, 43.2%, 16.5%)
CIE-LABlab(79.83, -5.91, 40.72)
CIE-LCHlch(79.83, 41.15, 98.25°)
OKLaboklab(82.41% -0.0162 0.0987)
OKLCHoklch(82.41% 0.1 99.3)
XYZxyz(51.3164, 56.3751, 26.2638)
Luminance0.5637 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C779 #7987D5
analogous
#D59979 #D5C779 #B5D579
triadic
#D5C779 #79D5C7 #C779D5
tetradic
#D5C779 #79D599 #7987D5 #D579B5
square
#D5C779 #79D599 #7987D5 #D579B5
split-complementary
#D5C779 #79B5D5 #9979D5
monochromatic
#A19032 #C6B44A #D5C779 #E4DAA8 #F2EED6

Accessibility & contrast

On white

1.71
#D5C779 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.27
#D5C779 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C779
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C779#FFFFFF#000000##000000
##D5C7791.001.7112.2712.27
#FFFFFF1.711.0021.0021.00
#00000012.2721.001.001.00
##00000012.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C373
Deuteranopia (green-blind)
#D9C87C
Tritanopia (blue-blind)
#E2BDB4
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d5c779;
/* rgb */ color: rgb(213, 199, 121);
/* oklch */ color: oklch(82.4% 0.100 99.3);
Tailwind
colors: {
  custom: {
    50: '#e3d7a1',
    500: '#d5c779',
    950: '#000000',
  },
}
SCSS
$custom: #d5c779;
$custom-light: #e3d7a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c779",
  "rgb": {
    "r": 213,
    "g": 199,
    "b": 121
  },
  "hsl": {
    "h": 50.87,
    "s": 52.273,
    "l": 65.49
  },
  "oklch": {
    "l": 0.82406,
    "c": 0.10004,
    "h": 99.3
  },
  "luminance": 0.56373
}

Semantic roles & 50–950 ramp

primary
#D5C779
secondary
#4D5AA5
accent
#3DC026
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16140F
muted
#848380

Preview Lab

Preview with #D5C779

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

Preview Lab → · Contrast checker → · Palette generator →

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