#D4C679#D4C679

#D4C679 is a very light, moderate yellow. Relative luminance 0.558; OKLCH L 82.1% C 0.099 H 99.2°. Best body text is #000000 at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#D4C679
RGBrgb(212, 198, 121)
HSLhsl(51, 51%, 65%)
HSVhsv(51, 43%, 83%)
CMYKcmyk(0%, 6.6%, 42.9%, 16.9%)
CIE-LABlab(79.48, -5.79, 40.27)
CIE-LCHlch(79.48, 40.68, 98.19°)
OKLaboklab(82.11% -0.0158 0.0977)
OKLCHoklch(82.11% 0.099 99.2)
XYZxyz(50.7978, 55.7673, 26.1738)
Luminance0.5577 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C679 #7987D4
analogous
#D49879 #D4C679 #B4D479
triadic
#D4C679 #79D4C6 #C679D4
tetradic
#D4C679 #79D498 #7987D4 #D479B4
square
#D4C679 #79D498 #7987D4 #D479B4
split-complementary
#D4C679 #79B4D4 #9879D4
monochromatic
#9F8F33 #C5B24B #D4C679 #E3DAA7 #F2EDD6

Accessibility & contrast

On white

1.73
#D4C679 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.15
#D4C679 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C679
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C679#FFFFFF#000000##000000
##D4C6791.001.7312.1512.15
#FFFFFF1.731.0021.0021.00
#00000012.1521.001.001.00
##00000012.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4c679;
/* rgb */ color: rgb(212, 198, 121);
/* oklch */ color: oklch(82.1% 0.099 99.2);
Tailwind
colors: {
  custom: {
    50: '#e3d7a1',
    500: '#d4c679',
    950: '#000000',
  },
}
SCSS
$custom: #d4c679;
$custom-light: #e3d7a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c679",
  "rgb": {
    "r": 212,
    "g": 198,
    "b": 121
  },
  "hsl": {
    "h": 50.769,
    "s": 51.412,
    "l": 65.294
  },
  "oklch": {
    "l": 0.82112,
    "c": 0.09898,
    "h": 99.2
  },
  "luminance": 0.55766
}

Semantic roles & 50–950 ramp

primary
#D4C679
secondary
#4D5BA4
accent
#3EBF27
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16140F
muted
#848380

Preview Lab

Preview with #D4C679

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

Preview Lab → · Contrast checker → · Palette generator →

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