#475811#475811

#475811 is a dark, moderate yellow-green. Relative luminance 0.084; OKLCH L 43.1% C 0.095 H 122.5°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#475811
RGBrgb(71, 88, 17)
HSLhsl(74, 68%, 21%)
HSVhsv(74, 81%, 35%)
CMYKcmyk(19.3%, 0%, 80.7%, 65.5%)
CIE-LABlab(34.72, -17.46, 36.33)
CIE-LCHlch(34.72, 40.31, 115.67°)
OKLaboklab(43.13% -0.0512 0.0804)
OKLCHoklch(43.13% 0.095 122.5)
XYZxyz(6.1895, 8.3595, 1.8177)
Luminance0.0836 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475811 #221158
analogous
#584511 #475811 #235811
triadic
#475811 #114758 #581147
tetradic
#475811 #115845 #221158 #581123
square
#475811 #115845 #221158 #581123
split-complementary
#475811 #112358 #451158
monochromatic
#151A05 #1E2507 #475811 #708B1B #9ABF25

Accessibility & contrast

On white

7.86
#475811 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#475811 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #475811
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##475811#FFFFFF#000000##FFFFFF
##4758111.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5203
Deuteranopia (green-blind)
#5C5218
Tritanopia (blue-blind)
#4B534B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #475811;
/* rgb */ color: rgb(71, 88, 17);
/* oklch */ color: oklch(43.1% 0.095 122.5);
Tailwind
colors: {
  custom: {
    50: '#7d8755',
    500: '#475811',
    950: '#000000',
  },
}
SCSS
$custom: #475811;
$custom-light: #7d8755;
$custom-dark: #000000;
JSON
{
  "hex": "#475811",
  "rgb": {
    "r": 71,
    "g": 88,
    "b": 17
  },
  "hsl": {
    "h": 74.366,
    "s": 67.619,
    "l": 20.588
  },
  "oklch": {
    "l": 0.4313,
    "c": 0.09537,
    "h": 122.5
  },
  "luminance": 0.0836
}

Semantic roles & 50–950 ramp

primary
#475811
secondary
#4A3491
accent
#3DEA67
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#0A0B03
muted
#7C7C78

Preview Lab

Preview with #475811

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

Preview Lab → · Contrast checker → · Palette generator →

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