#475F20#475F20

#475F20 is a mid, moderate yellow-green. Relative luminance 0.096; OKLCH L 45.1% C 0.094 H 127.5°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#475F20
RGBrgb(71, 95, 32)
HSLhsl(83, 50%, 25%)
HSVhsv(83, 66%, 37%)
CMYKcmyk(25.3%, 0%, 66.3%, 62.7%)
CIE-LABlab(37.17, -20.07, 32.23)
CIE-LCHlch(37.17, 37.96, 121.91°)
OKLaboklab(45.15% -0.0569 0.0743)
OKLCHoklch(45.15% 0.094 127.5)
XYZxyz(6.9514, 9.6282, 2.8584)
Luminance0.0963 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475F20 #38205F
analogous
#5F5720 #475F20 #285F20
triadic
#475F20 #20475F #5F2047
tetradic
#475F20 #205F57 #38205F #5F2028
square
#475F20 #205F57 #38205F #5F2028
split-complementary
#475F20 #20285F #57205F
monochromatic
#111708 #253111 #475F20 #698D2F #8BBB3F

Accessibility & contrast

On white

7.18
#475F20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#475F20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #475F20
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##475F20#FFFFFF#000000##FFFFFF
##475F201.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645819
Deuteranopia (green-blind)
#615725
Tritanopia (blue-blind)
#4A5B52
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #475f20;
/* rgb */ color: rgb(71, 95, 32);
/* oklch */ color: oklch(45.1% 0.094 127.5);
Tailwind
colors: {
  custom: {
    50: '#7c8c5e',
    500: '#475f20',
    950: '#000000',
  },
}
SCSS
$custom: #475f20;
$custom-light: #7c8c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#475f20",
  "rgb": {
    "r": 71,
    "g": 95,
    "b": 32
  },
  "hsl": {
    "h": 82.857,
    "s": 49.606,
    "l": 24.902
  },
  "oklch": {
    "l": 0.45148,
    "c": 0.09357,
    "h": 127.5
  },
  "luminance": 0.09628
}

Semantic roles & 50–950 ramp

primary
#475F20
secondary
#644793
accent
#4FD983
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C04
muted
#7C7D79

Preview Lab

Preview with #475F20

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

Preview Lab → · Contrast checker → · Palette generator →

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