#475B22#475B22

#475B22 is a dark, moderate yellow-green. Relative luminance 0.089; OKLCH L 44.1% C 0.086 H 125.9°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#475B22
RGBrgb(71, 91, 34)
HSLhsl(81, 46%, 25%)
HSVhsv(81, 63%, 36%)
CMYKcmyk(22%, 0%, 62.6%, 64.3%)
CIE-LABlab(35.86, -17.74, 29.77)
CIE-LCHlch(35.86, 34.65, 120.79°)
OKLaboklab(44.1% -0.0503 0.0693)
OKLCHoklch(44.1% 0.086 125.9)
XYZxyz(6.6284, 8.9372, 2.8889)
Luminance0.0894 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475B22 #36225B
analogous
#5B5322 #475B22 #2A5B22
triadic
#475B22 #22475B #5B2247
tetradic
#475B22 #225B53 #36225B #5B222A
square
#475B22 #225B53 #36225B #5B222A
split-complementary
#475B22 #222A5B #53225B
monochromatic
#111608 #242E11 #475B22 #6A8833 #8DB443

Accessibility & contrast

On white

7.53
#475B22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#475B22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #475B22
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##475B22#FFFFFF#000000##FFFFFF
##475B221.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60551C
Deuteranopia (green-blind)
#5D5426
Tritanopia (blue-blind)
#4A574F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #475b22;
/* rgb */ color: rgb(71, 91, 34);
/* oklch */ color: oklch(44.1% 0.086 125.9);
Tailwind
colors: {
  custom: {
    50: '#7c895f',
    500: '#475b22',
    950: '#000000',
  },
}
SCSS
$custom: #475b22;
$custom-light: #7c895f;
$custom-dark: #000000;
JSON
{
  "hex": "#475b22",
  "rgb": {
    "r": 71,
    "g": 91,
    "b": 34
  },
  "hsl": {
    "h": 81.053,
    "s": 45.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.441,
    "c": 0.08562,
    "h": 125.9
  },
  "luminance": 0.08937
}

Semantic roles & 50–950 ramp

primary
#475B22
secondary
#624A8F
accent
#53D580
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#090B05
muted
#7B7C79

Preview Lab

Preview with #475B22

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

Preview Lab → · Contrast checker → · Palette generator →

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