#D5C679#D5C679

#D5C679 is a very light, moderate yellow. Relative luminance 0.559; OKLCH L 82.2% C 0.099 H 98.6°. Best body text is #000000 at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#D5C679
RGBrgb(213, 198, 121)
HSLhsl(50, 52%, 65%)
HSVhsv(50, 43%, 84%)
CMYKcmyk(0%, 7%, 43.2%, 16.5%)
CIE-LABlab(79.57, -5.39, 40.39)
CIE-LCHlch(79.57, 40.75, 97.60°)
OKLaboklab(82.2% -0.0147 0.098)
OKLCHoklch(82.2% 0.099 98.6)
XYZxyz(51.0871, 55.9165, 26.1873)
Luminance0.5592 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C679 #7988D5
analogous
#D59879 #D5C679 #B6D579
triadic
#D5C679 #79D5C6 #C679D5
tetradic
#D5C679 #79D598 #7988D5 #D579B6
square
#D5C679 #79D598 #7988D5 #D579B6
split-complementary
#D5C679 #79B6D5 #9879D5
monochromatic
#A18F32 #C6B24A #D5C679 #E4DAA8 #F2EED6

Accessibility & contrast

On white

1.72
#D5C679 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.18
#D5C679 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C679
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C679#FFFFFF#000000##000000
##D5C6791.001.7212.1812.18
#FFFFFF1.721.0021.0021.00
#00000012.1821.001.001.00
##00000012.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C273
Deuteranopia (green-blind)
#D8C87C
Tritanopia (blue-blind)
#E2BCB3
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d5c679;
/* rgb */ color: rgb(213, 198, 121);
/* oklch */ color: oklch(82.2% 0.099 98.6);
Tailwind
colors: {
  custom: {
    50: '#e3d7a1',
    500: '#d5c679',
    950: '#000000',
  },
}
SCSS
$custom: #d5c679;
$custom-light: #e3d7a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c679",
  "rgb": {
    "r": 213,
    "g": 198,
    "b": 121
  },
  "hsl": {
    "h": 50.217,
    "s": 52.273,
    "l": 65.49
  },
  "oklch": {
    "l": 0.822,
    "c": 0.09907,
    "h": 98.6
  },
  "luminance": 0.55915
}

Semantic roles & 50–950 ramp

primary
#D5C679
secondary
#4D5BA5
accent
#3FC026
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16140F
muted
#848380

Preview Lab

Preview with #D5C679

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

Preview Lab → · Contrast checker → · Palette generator →

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