#475A2F#475A2F

#475A2F is a dark, moderate yellow-green. Relative luminance 0.089; OKLCH L 44.0% C 0.069 H 128.5°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#475A2F
RGBrgb(71, 90, 47)
HSLhsl(87, 31%, 27%)
HSVhsv(87, 48%, 35%)
CMYKcmyk(21.1%, 0%, 47.8%, 64.7%)
CIE-LABlab(35.71, -15.64, 22.43)
CIE-LCHlch(35.71, 27.35, 124.88°)
OKLaboklab(44.03% -0.0432 0.0544)
OKLCHoklch(44.03% 0.069 128.5)
XYZxyz(6.7677, 8.8571, 4.0418)
Luminance0.0886 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475A2F #422F5A
analogous
#5A582F #475A2F #325A2F
triadic
#475A2F #2F475A #5A2F47
tetradic
#475A2F #2F5A58 #422F5A #5A2F32
square
#475A2F #2F5A58 #422F5A #5A2F32
split-complementary
#475A2F #2F325A #582F5A
monochromatic
#10140A #27321A #475A2F #678244 #86A95A

Accessibility & contrast

On white

7.58
#475A2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#475A2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #475A2F
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##475A2F#FFFFFF#000000##FFFFFF
##475A2F1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E552C
Deuteranopia (green-blind)
#5B5431
Tritanopia (blue-blind)
#495750
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #475a2f;
/* rgb */ color: rgb(71, 90, 47);
/* oklch */ color: oklch(44.0% 0.069 128.5);
Tailwind
colors: {
  custom: {
    50: '#7b8868',
    500: '#475a2f',
    950: '#000000',
  },
}
SCSS
$custom: #475a2f;
$custom-light: #7b8868;
$custom-dark: #000000;
JSON
{
  "hex": "#475a2f",
  "rgb": {
    "r": 71,
    "g": 90,
    "b": 47
  },
  "hsl": {
    "h": 86.512,
    "s": 31.387,
    "l": 26.863
  },
  "oklch": {
    "l": 0.44031,
    "c": 0.06949,
    "h": 128.5
  },
  "luminance": 0.08857
}

Semantic roles & 50–950 ramp

primary
#475A2F
secondary
#6F598C
accent
#60C88E
background
#F7F8F6
surface
#EEF0EB
border
#C9CBC6
text
#090B06
muted
#7B7C7A

Preview Lab

Preview with #475A2F

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

Preview Lab → · Contrast checker → · Palette generator →

#475A2F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva