#475F22#475F22

#475F22 is a mid, moderate yellow-green. Relative luminance 0.096; OKLCH L 45.2% C 0.092 H 127.8°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#475F22
RGBrgb(71, 95, 34)
HSLhsl(84, 47%, 25%)
HSVhsv(84, 64%, 37%)
CMYKcmyk(25.3%, 0%, 64.2%, 62.7%)
CIE-LABlab(37.19, -19.88, 31.26)
CIE-LCHlch(37.19, 37.04, 122.45°)
OKLaboklab(45.17% -0.0562 0.0725)
OKLCHoklch(45.17% 0.092 127.8)
XYZxyz(6.9795, 9.6394, 3.0059)
Luminance0.0964 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475F22 #3A225F
analogous
#5F5922 #475F22 #285F22
triadic
#475F22 #22475F #5F2247
tetradic
#475F22 #225F59 #3A225F #5F2228
square
#475F22 #225F59 #3A225F #5F2228
split-complementary
#475F22 #22285F #59225F
monochromatic
#111708 #253212 #475F22 #698C32 #8AB942

Accessibility & contrast

On white

7.17
#475F22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #475F22
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##475F22#FFFFFF#000000##FFFFFF
##475F221.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#64591B
Deuteranopia (green-blind)
#605726
Tritanopia (blue-blind)
#495B52
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #475f22;
/* rgb */ color: rgb(71, 95, 34);
/* oklch */ color: oklch(45.2% 0.092 127.8);
Tailwind
colors: {
  custom: {
    50: '#7c8c60',
    500: '#475f22',
    950: '#000000',
  },
}
SCSS
$custom: #475f22;
$custom-light: #7c8c60;
$custom-dark: #000000;
JSON
{
  "hex": "#475f22",
  "rgb": {
    "r": 71,
    "g": 95,
    "b": 34
  },
  "hsl": {
    "h": 83.607,
    "s": 47.287,
    "l": 25.294
  },
  "oklch": {
    "l": 0.45171,
    "c": 0.09171,
    "h": 127.8
  },
  "luminance": 0.0964
}

Semantic roles & 50–950 ramp

primary
#475F22
secondary
#674A93
accent
#51D786
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C05
muted
#7C7D79

Preview Lab

Preview with #475F22

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

Preview Lab → · Contrast checker → · Palette generator →

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