#475E20#475E20

#475E20 is a dark, moderate yellow-green. Relative luminance 0.094; OKLCH L 44.9% C 0.092 H 127.0°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#475E20
RGBrgb(71, 94, 32)
HSLhsl(82, 49%, 25%)
HSVhsv(82, 66%, 37%)
CMYKcmyk(24.5%, 0%, 66%, 63.1%)
CIE-LABlab(36.84, -19.54, 31.86)
CIE-LCHlch(36.84, 37.38, 121.52°)
OKLaboklab(44.88% -0.0554 0.0735)
OKLCHoklch(44.88% 0.092 127)
XYZxyz(6.8619, 9.4492, 2.8286)
Luminance0.0945 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475E20 #37205E
analogous
#5E5620 #475E20 #285E20
triadic
#475E20 #20475E #5E2047
tetradic
#475E20 #205E56 #37205E #5E2028
square
#475E20 #205E56 #37205E #5E2028
split-complementary
#475E20 #20285E #56205E
monochromatic
#111708 #253010 #475E20 #698C30 #8CB93F

Accessibility & contrast

On white

7.27
#475E20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#475E20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #475E20
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##475E20#FFFFFF#000000##FFFFFF
##475E201.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635819
Deuteranopia (green-blind)
#605624
Tritanopia (blue-blind)
#4A5A51
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #475e20;
/* rgb */ color: rgb(71, 94, 32);
/* oklch */ color: oklch(44.9% 0.092 127.0);
Tailwind
colors: {
  custom: {
    50: '#7c8b5e',
    500: '#475e20',
    950: '#000000',
  },
}
SCSS
$custom: #475e20;
$custom-light: #7c8b5e;
$custom-dark: #000000;
JSON
{
  "hex": "#475e20",
  "rgb": {
    "r": 71,
    "g": 94,
    "b": 32
  },
  "hsl": {
    "h": 82.258,
    "s": 49.206,
    "l": 24.706
  },
  "oklch": {
    "l": 0.44879,
    "c": 0.09208,
    "h": 127
  },
  "luminance": 0.09449
}

Semantic roles & 50–950 ramp

primary
#475E20
secondary
#634792
accent
#4FD982
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C04
muted
#7C7D79

Preview Lab

Preview with #475E20

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

Preview Lab → · Contrast checker → · Palette generator →

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