#476315#476315

#476315 is a mid, moderate yellow-green. Relative luminance 0.103; OKLCH L 46.1% C 0.108 H 127.7°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#476315
RGBrgb(71, 99, 21)
HSLhsl(82, 65%, 24%)
HSVhsv(82, 79%, 39%)
CMYKcmyk(28.3%, 0%, 78.8%, 61.2%)
CIE-LABlab(38.41, -22.99, 38.34)
CIE-LCHlch(38.41, 44.71, 120.95°)
OKLaboklab(46.12% -0.066 0.0854)
OKLCHoklch(46.12% 0.108 127.7)
XYZxyz(7.1957, 10.3173, 2.3216)
Luminance0.1032 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476315 #311563
analogous
#635815 #476315 #206315
triadic
#476315 #154763 #631547
tetradic
#476315 #156358 #311563 #631520
square
#476315 #156358 #311563 #631520
split-complementary
#476315 #152063 #581563
monochromatic
#121905 #23310A #476315 #6B9520 #8FC82A

Accessibility & contrast

On white

6.86
#476315 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#476315 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476315
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476315#FFFFFF#000000##FFFFFF
##4763151.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685C05
Deuteranopia (green-blind)
#655A1C
Tritanopia (blue-blind)
#4A5E54
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #476315;
/* rgb */ color: rgb(71, 99, 21);
/* oklch */ color: oklch(46.1% 0.108 127.7);
Tailwind
colors: {
  custom: {
    50: '#7d8f59',
    500: '#476315',
    950: '#000000',
  },
}
SCSS
$custom: #476315;
$custom-light: #7d8f59;
$custom-dark: #000000;
JSON
{
  "hex": "#476315",
  "rgb": {
    "r": 71,
    "g": 99,
    "b": 21
  },
  "hsl": {
    "h": 81.538,
    "s": 65,
    "l": 23.529
  },
  "oklch": {
    "l": 0.46124,
    "c": 0.10791,
    "h": 127.7
  },
  "luminance": 0.10317
}

Semantic roles & 50–950 ramp

primary
#476315
secondary
#5C3A9A
accent
#40E87C
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C04
muted
#7C7D79

Preview Lab

Preview with #476315

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

Preview Lab → · Contrast checker → · Palette generator →

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