#476111#476111

#476111 is a mid, moderate yellow-green. Relative luminance 0.099; OKLCH L 45.6% C 0.108 H 126.6°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#476111
RGBrgb(71, 97, 17)
HSLhsl(80, 70%, 22%)
HSVhsv(80, 82%, 38%)
CMYKcmyk(26.8%, 0%, 82.5%, 62%)
CIE-LABlab(37.72, -22.20, 39.15)
CIE-LCHlch(37.72, 45.01, 119.56°)
OKLaboklab(45.56% -0.0642 0.0864)
OKLCHoklch(45.56% 0.108 126.6)
XYZxyz(6.9744, 9.9293, 2.0793)
Luminance0.0993 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476111 #2B1161
analogous
#615311 #476111 #1F6111
triadic
#476111 #114761 #611147
tetradic
#476111 #116153 #2B1161 #61111F
square
#476111 #116153 #2B1161 #61111F
split-complementary
#476111 #111F61 #531161
monochromatic
#131A05 #212D08 #476111 #6D951A #93C923

Accessibility & contrast

On white

7.03
#476111 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#476111 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #476111
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476111#FFFFFF#000000##FFFFFF
##4761111.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675A00
Deuteranopia (green-blind)
#635819
Tritanopia (blue-blind)
#4A5C52
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #476111;
/* rgb */ color: rgb(71, 97, 17);
/* oklch */ color: oklch(45.6% 0.108 126.6);
Tailwind
colors: {
  custom: {
    50: '#7d8e57',
    500: '#476111',
    950: '#000000',
  },
}
SCSS
$custom: #476111;
$custom-light: #7d8e57;
$custom-dark: #000000;
JSON
{
  "hex": "#476111",
  "rgb": {
    "r": 71,
    "g": 97,
    "b": 17
  },
  "hsl": {
    "h": 79.5,
    "s": 70.175,
    "l": 22.353
  },
  "oklch": {
    "l": 0.45555,
    "c": 0.10762,
    "h": 126.6
  },
  "luminance": 0.09929
}

Semantic roles & 50–950 ramp

primary
#476111
secondary
#553499
accent
#3BED75
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C03
muted
#7C7D78

Preview Lab

Preview with #476111

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

Preview Lab → · Contrast checker → · Palette generator →

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