#D7C66E#D7C66E

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

Color values

HEX#D7C66E
RGBrgb(215, 198, 110)
HSLhsl(50, 57%, 64%)
HSVhsv(50, 49%, 84%)
CMYKcmyk(0%, 7.9%, 48.8%, 15.7%)
CIE-LABlab(79.59, -5.65, 45.94)
CIE-LCHlch(79.59, 46.29, 97.01°)
OKLaboklab(82.21% -0.0166 0.1096)
OKLCHoklch(82.21% 0.111 98.6)
XYZxyz(51.0344, 55.9629, 22.8625)
Luminance0.5596 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C66E #6E7FD7
analogous
#D7916E #D7C66E #B3D76E
triadic
#D7C66E #6ED7C6 #C66ED7
tetradic
#D7C66E #6ED791 #6E7FD7 #D76EB3
square
#D7C66E #6ED791 #6E7FD7 #D76EB3
split-complementary
#D7C66E #6EB3D7 #916ED7
monochromatic
#9F8C2C #CAB33E #D7C66E #E4D99E #F1ECCE

Accessibility & contrast

On white

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

On black

12.19
#D7C66E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C66E
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C66E#FFFFFF#000000##000000
##D7C66E1.001.7212.1912.19
#FFFFFF1.721.0021.0021.00
#00000012.1921.001.001.00
##00000012.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C266
Deuteranopia (green-blind)
#DAC872
Tritanopia (blue-blind)
#E5BBB1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d7c66e;
/* rgb */ color: rgb(215, 198, 110);
/* oklch */ color: oklch(82.2% 0.111 98.6);
Tailwind
colors: {
  custom: {
    50: '#e5d799',
    500: '#d7c66e',
    950: '#000000',
  },
}
SCSS
$custom: #d7c66e;
$custom-light: #e5d799;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c66e",
  "rgb": {
    "r": 215,
    "g": 198,
    "b": 110
  },
  "hsl": {
    "h": 50.286,
    "s": 56.757,
    "l": 63.725
  },
  "oklch": {
    "l": 0.82214,
    "c": 0.11087,
    "h": 98.6
  },
  "luminance": 0.55961
}

Semantic roles & 50–950 ramp

primary
#D7C66E
secondary
#4655A3
accent
#3CC421
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16140E
muted
#84837F

Preview Lab

Preview with #D7C66E

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

Preview Lab → · Contrast checker → · Palette generator →

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