#475216#475216

#475216 is a dark, moderate yellow-green. Relative luminance 0.074; OKLCH L 41.6% C 0.083 H 119.1°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#475216
RGBrgb(71, 82, 22)
HSLhsl(71, 58%, 20%)
HSVhsv(71, 73%, 32%)
CMYKcmyk(13.4%, 0%, 73.2%, 67.8%)
CIE-LABlab(32.77, -13.82, 32.30)
CIE-LCHlch(32.77, 35.13, 113.16°)
OKLaboklab(41.57% -0.0406 0.0729)
OKLCHoklch(41.57% 0.083 119.1)
XYZxyz(5.7607, 7.4321, 1.8900)
Luminance0.0743 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475216 #211652
analogous
#523F16 #475216 #295216
triadic
#475216 #164752 #521647
tetradic
#475216 #16523F #211652 #521629
square
#475216 #16523F #211652 #521629
split-complementary
#475216 #162952 #3F1652
monochromatic
#151806 #1D2209 #475216 #718223 #9BB330

Accessibility & contrast

On white

8.45
#475216 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#475216 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #475216
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##475216#FFFFFF#000000##FFFFFF
##4752161.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D0D
Deuteranopia (green-blind)
#564D1B
Tritanopia (blue-blind)
#4B4D46
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #475216;
/* rgb */ color: rgb(71, 82, 22);
/* oklch */ color: oklch(41.6% 0.083 119.1);
Tailwind
colors: {
  custom: {
    50: '#7c8257',
    500: '#475216',
    950: '#000000',
  },
}
SCSS
$custom: #475216;
$custom-light: #7c8257;
$custom-dark: #000000;
JSON
{
  "hex": "#475216",
  "rgb": {
    "r": 71,
    "g": 82,
    "b": 22
  },
  "hsl": {
    "h": 71,
    "s": 57.692,
    "l": 20.392
  },
  "oklch": {
    "l": 0.4157,
    "c": 0.08347,
    "h": 119.1
  },
  "luminance": 0.07432
}

Semantic roles & 50–950 ramp

primary
#475216
secondary
#493A89
accent
#47E163
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #475216

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

Preview Lab → · Contrast checker → · Palette generator →

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