#475A2E#475A2E

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

Color values

HEX#475A2E
RGBrgb(71, 90, 46)
HSLhsl(86, 32%, 27%)
HSVhsv(86, 49%, 35%)
CMYKcmyk(21.1%, 0%, 48.9%, 64.7%)
CIE-LABlab(35.69, -15.78, 22.99)
CIE-LCHlch(35.69, 27.88, 124.46°)
OKLaboklab(44.01% -0.0437 0.0556)
OKLCHoklch(44.01% 0.071 128.1)
XYZxyz(6.7478, 8.8491, 3.9368)
Luminance0.0885 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475A2E #412E5A
analogous
#5A572E #475A2E #315A2E
triadic
#475A2E #2E475A #5A2E47
tetradic
#475A2E #2E5A57 #412E5A #5A2E31
square
#475A2E #2E5A57 #412E5A #5A2E31
split-complementary
#475A2E #2E315A #572E5A
monochromatic
#10140A #273219 #475A2E #678343 #87AA59

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##475A2E#FFFFFF#000000##FFFFFF
##475A2E1.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)
#5E552A
Deuteranopia (green-blind)
#5B5430
Tritanopia (blue-blind)
#495750
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #475a2e;
/* rgb */ color: rgb(71, 90, 46);
/* oklch */ color: oklch(44.0% 0.071 128.1);
Tailwind
colors: {
  custom: {
    50: '#7b8867',
    500: '#475a2e',
    950: '#000000',
  },
}
SCSS
$custom: #475a2e;
$custom-light: #7b8867;
$custom-dark: #000000;
JSON
{
  "hex": "#475a2e",
  "rgb": {
    "r": 71,
    "g": 90,
    "b": 46
  },
  "hsl": {
    "h": 85.909,
    "s": 32.353,
    "l": 26.667
  },
  "oklch": {
    "l": 0.44014,
    "c": 0.0707,
    "h": 128.1
  },
  "luminance": 0.08849
}

Semantic roles & 50–950 ramp

primary
#475A2E
secondary
#6E588C
accent
#5FC98D
background
#F7F8F6
surface
#EEF0EB
border
#C9CBC6
text
#090B06
muted
#7B7C7A

Preview Lab

Preview with #475A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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