#475217#475217

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

Color values

HEX#475217
RGBrgb(71, 82, 23)
HSLhsl(71, 56%, 21%)
HSVhsv(71, 72%, 32%)
CMYKcmyk(13.4%, 0%, 72%, 67.8%)
CIE-LABlab(32.78, -13.74, 31.85)
CIE-LCHlch(32.78, 34.69, 113.34°)
OKLaboklab(41.58% -0.0403 0.0721)
OKLCHoklch(41.58% 0.083 119.2)
XYZxyz(5.7706, 7.4361, 1.9418)
Luminance0.0744 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475217 #221752
analogous
#523F17 #475217 #2A5217
triadic
#475217 #174752 #521747
tetradic
#475217 #17523F #221752 #52172A
square
#475217 #17523F #221752 #52172A
split-complementary
#475217 #172A52 #3F1752
monochromatic
#151807 #1E220A #475217 #708224 #9AB232

Accessibility & contrast

On white

8.44
#475217 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #475217
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##475217#FFFFFF#000000##FFFFFF
##4752171.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #475217;
/* rgb */ color: rgb(71, 82, 23);
/* oklch */ color: oklch(41.6% 0.083 119.2);
Tailwind
colors: {
  custom: {
    50: '#7c8258',
    500: '#475217',
    950: '#000000',
  },
}
SCSS
$custom: #475217;
$custom-light: #7c8258;
$custom-dark: #000000;
JSON
{
  "hex": "#475217",
  "rgb": {
    "r": 71,
    "g": 82,
    "b": 23
  },
  "hsl": {
    "h": 71.186,
    "s": 56.19,
    "l": 20.588
  },
  "oklch": {
    "l": 0.4158,
    "c": 0.08263,
    "h": 119.2
  },
  "luminance": 0.07436
}

Semantic roles & 50–950 ramp

primary
#475217
secondary
#4A3C89
accent
#48DF65
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #475217

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

Preview Lab → · Contrast checker → · Palette generator →

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