#475A22#475A22

#475A22 is a dark, moderate yellow-green. Relative luminance 0.088; OKLCH L 43.8% C 0.084 H 125.4°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#475A22
RGBrgb(71, 90, 34)
HSLhsl(80, 45%, 24%)
HSVhsv(80, 62%, 35%)
CMYKcmyk(21.1%, 0%, 62.2%, 64.7%)
CIE-LABlab(35.53, -17.20, 29.39)
CIE-LCHlch(35.53, 34.05, 120.33°)
OKLaboklab(43.83% -0.0487 0.0685)
OKLCHoklch(43.83% 0.084 125.4)
XYZxyz(6.5434, 8.7673, 2.8606)
Luminance0.0877 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475A22 #35225A
analogous
#5A5122 #475A22 #2B5A22
triadic
#475A22 #22475A #5A2247
tetradic
#475A22 #225A51 #35225A #5A222B
square
#475A22 #225A51 #35225A #5A222B
split-complementary
#475A22 #222B5A #51225A
monochromatic
#121608 #242E11 #475A22 #6A8633 #8DB344

Accessibility & contrast

On white

7.63
#475A22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#475A22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #475A22
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##475A22#FFFFFF#000000##FFFFFF
##475A221.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F541C
Deuteranopia (green-blind)
#5C5326
Tritanopia (blue-blind)
#4A564E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #475a22;
/* rgb */ color: rgb(71, 90, 34);
/* oklch */ color: oklch(43.8% 0.084 125.4);
Tailwind
colors: {
  custom: {
    50: '#7c885f',
    500: '#475a22',
    950: '#000000',
  },
}
SCSS
$custom: #475a22;
$custom-light: #7c885f;
$custom-dark: #000000;
JSON
{
  "hex": "#475a22",
  "rgb": {
    "r": 71,
    "g": 90,
    "b": 34
  },
  "hsl": {
    "h": 80.357,
    "s": 45.161,
    "l": 24.314
  },
  "oklch": {
    "l": 0.43833,
    "c": 0.08408,
    "h": 125.4
  },
  "luminance": 0.08767
}

Semantic roles & 50–950 ramp

primary
#475A22
secondary
#614A8E
accent
#53D57F
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#090B05
muted
#7B7C79

Preview Lab

Preview with #475A22

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

Preview Lab → · Contrast checker → · Palette generator →

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