#475722#475722

#475722 is a dark, moderate yellow-green. Relative luminance 0.083; OKLCH L 43.0% C 0.079 H 123.8°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#475722
RGBrgb(71, 87, 34)
HSLhsl(78, 44%, 24%)
HSVhsv(78, 61%, 34%)
CMYKcmyk(18.4%, 0%, 60.9%, 65.9%)
CIE-LABlab(34.54, -15.55, 28.26)
CIE-LCHlch(34.54, 32.26, 118.82°)
OKLaboklab(43.04% -0.0442 0.0661)
OKLCHoklch(43.04% 0.079 123.8)
XYZxyz(6.2955, 8.2714, 2.7779)
Luminance0.0827 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475722 #322257
analogous
#574C22 #475722 #2C5722
triadic
#475722 #224757 #572247
tetradic
#475722 #22574C #322257 #57222C
square
#475722 #22574C #322257 #57222C
split-complementary
#475722 #222C57 #4C2257
monochromatic
#121609 #232B11 #475722 #6B8333 #8FAF44

Accessibility & contrast

On white

7.91
#475722 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#475722 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #475722
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##475722#FFFFFF#000000##FFFFFF
##4757221.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C521D
Deuteranopia (green-blind)
#5A5125
Tritanopia (blue-blind)
#4A534B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #475722;
/* rgb */ color: rgb(71, 87, 34);
/* oklch */ color: oklch(43.0% 0.079 123.8);
Tailwind
colors: {
  custom: {
    50: '#7c865f',
    500: '#475722',
    950: '#000000',
  },
}
SCSS
$custom: #475722;
$custom-light: #7c865f;
$custom-dark: #000000;
JSON
{
  "hex": "#475722",
  "rgb": {
    "r": 71,
    "g": 87,
    "b": 34
  },
  "hsl": {
    "h": 78.113,
    "s": 43.802,
    "l": 23.725
  },
  "oklch": {
    "l": 0.43035,
    "c": 0.07948,
    "h": 123.8
  },
  "luminance": 0.08271
}

Semantic roles & 50–950 ramp

primary
#475722
secondary
#5D4A8B
accent
#54D47B
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#090B05
muted
#7B7C79

Preview Lab

Preview with #475722

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

Preview Lab → · Contrast checker → · Palette generator →

#475722 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva