#475920#475920

#475920 is a dark, moderate yellow-green. Relative luminance 0.086; OKLCH L 43.5% C 0.085 H 124.6°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#475920
RGBrgb(71, 89, 32)
HSLhsl(79, 47%, 24%)
HSVhsv(79, 64%, 35%)
CMYKcmyk(20.2%, 0%, 64%, 65.1%)
CIE-LABlab(35.18, -16.85, 30.03)
CIE-LCHlch(35.18, 34.43, 119.30°)
OKLaboklab(43.54% -0.048 0.0696)
OKLCHoklch(43.54% 0.085 124.6)
XYZxyz(6.4316, 8.5886, 2.6851)
Luminance0.0859 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475920 #322059
analogous
#594E20 #475920 #2A5920
triadic
#475920 #204759 #592047
tetradic
#475920 #20594E #322059 #59202A
square
#475920 #20594E #322059 #59202A
split-complementary
#475920 #202A59 #4E2059
monochromatic
#121708 #232C10 #475920 #6B8630 #8FB340

Accessibility & contrast

On white

7.73
#475920 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#475920 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #475920
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##475920#FFFFFF#000000##FFFFFF
##4759201.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E531A
Deuteranopia (green-blind)
#5C5324
Tritanopia (blue-blind)
#4A554D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #475920;
/* rgb */ color: rgb(71, 89, 32);
/* oklch */ color: oklch(43.5% 0.085 124.6);
Tailwind
colors: {
  custom: {
    50: '#7c885e',
    500: '#475920',
    950: '#000000',
  },
}
SCSS
$custom: #475920;
$custom-light: #7c885e;
$custom-dark: #000000;
JSON
{
  "hex": "#475920",
  "rgb": {
    "r": 71,
    "g": 89,
    "b": 32
  },
  "hsl": {
    "h": 78.947,
    "s": 47.107,
    "l": 23.725
  },
  "oklch": {
    "l": 0.43542,
    "c": 0.08455,
    "h": 124.6
  },
  "luminance": 0.08589
}

Semantic roles & 50–950 ramp

primary
#475920
secondary
#5D478D
accent
#51D77B
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#0A0B04
muted
#7C7C79

Preview Lab

Preview with #475920

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

Preview Lab → · Contrast checker → · Palette generator →

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