#D7C46E#D7C46E

#D7C46E is a light, moderate yellow. Relative luminance 0.551; OKLCH L 81.8% C 0.109 H 97.2°. Best body text is #000000 at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#D7C46E
RGBrgb(215, 196, 110)
HSLhsl(49, 57%, 64%)
HSVhsv(49, 49%, 84%)
CMYKcmyk(0%, 8.8%, 48.8%, 15.7%)
CIE-LABlab(79.07, -4.61, 45.31)
CIE-LCHlch(79.07, 45.54, 95.81°)
OKLaboklab(81.8% -0.0137 0.1082)
OKLCHoklch(81.8% 0.109 97.2)
XYZxyz(50.5803, 55.0546, 22.7111)
Luminance0.5505 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C46E #6E81D7
analogous
#D78F6E #D7C46E #B5D76E
triadic
#D7C46E #6ED7C4 #C46ED7
tetradic
#D7C46E #6ED78F #6E81D7 #D76EB5
square
#D7C46E #6ED78F #6E81D7 #D76EB5
split-complementary
#D7C46E #6EB5D7 #8F6ED7
monochromatic
#9F8A2C #CAB03E #D7C46E #E4D89E #F1EBCE

Accessibility & contrast

On white

1.75
#D7C46E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.01
#D7C46E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C46E
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C46E#FFFFFF#000000##000000
##D7C46E1.001.7512.0112.01
#FFFFFF1.751.0021.0021.00
#00000012.0121.001.001.00
##00000012.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C067
Deuteranopia (green-blind)
#D8C772
Tritanopia (blue-blind)
#E5B9B0
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d7c46e;
/* rgb */ color: rgb(215, 196, 110);
/* oklch */ color: oklch(81.8% 0.109 97.2);
Tailwind
colors: {
  custom: {
    50: '#e5d599',
    500: '#d7c46e',
    950: '#000000',
  },
}
SCSS
$custom: #d7c46e;
$custom-light: #e5d599;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c46e",
  "rgb": {
    "r": 215,
    "g": 196,
    "b": 110
  },
  "hsl": {
    "h": 49.143,
    "s": 56.757,
    "l": 63.725
  },
  "oklch": {
    "l": 0.81803,
    "c": 0.10906,
    "h": 97.2
  },
  "luminance": 0.55053
}

Semantic roles & 50–950 ramp

primary
#D7C46E
secondary
#4657A3
accent
#3FC421
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16140E
muted
#84837F

Preview Lab

Preview with #D7C46E

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

Preview Lab → · Contrast checker → · Palette generator →

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