#D7C46D#D7C46D

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

Color values

HEX#D7C46D
RGBrgb(215, 196, 109)
HSLhsl(49, 57%, 64%)
HSVhsv(49, 49%, 84%)
CMYKcmyk(0%, 8.8%, 49.3%, 15.7%)
CIE-LABlab(79.06, -4.70, 45.79)
CIE-LCHlch(79.06, 46.03, 95.87°)
OKLaboklab(81.79% -0.014 0.1092)
OKLCHoklch(81.79% 0.11 97.3)
XYZxyz(50.5261, 55.0330, 22.4260)
Luminance0.5503 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C46D #6D80D7
analogous
#D78F6D #D7C46D #B5D76D
triadic
#D7C46D #6DD7C4 #C46DD7
tetradic
#D7C46D #6DD78F #6D80D7 #D76DB5
square
#D7C46D #6DD78F #6D80D7 #D76DB5
split-complementary
#D7C46D #6DB5D7 #8F6DD7
monochromatic
#9E8A2B #CAB13D #D7C46D #E4D79D #F1EBCD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7C46D#FFFFFF#000000##000000
##D7C46D1.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)
#D3C066
Deuteranopia (green-blind)
#D8C771
Tritanopia (blue-blind)
#E5B9AF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d7c46d;
/* rgb */ color: rgb(215, 196, 109);
/* oklch */ color: oklch(81.8% 0.110 97.3);
Tailwind
colors: {
  custom: {
    50: '#e5d599',
    500: '#d7c46d',
    950: '#000000',
  },
}
SCSS
$custom: #d7c46d;
$custom-light: #e5d599;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c46d",
  "rgb": {
    "r": 215,
    "g": 196,
    "b": 109
  },
  "hsl": {
    "h": 49.245,
    "s": 56.989,
    "l": 63.529
  },
  "oklch": {
    "l": 0.81789,
    "c": 0.11008,
    "h": 97.3
  },
  "luminance": 0.55031
}

Semantic roles & 50–950 ramp

primary
#D7C46D
secondary
#4656A2
accent
#3EC521
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16140E
muted
#84837F

Preview Lab

Preview with #D7C46D

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

Preview Lab → · Contrast checker → · Palette generator →

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