#475218#475218

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

Color values

HEX#475218
RGBrgb(71, 82, 24)
HSLhsl(71, 55%, 21%)
HSVhsv(71, 71%, 32%)
CMYKcmyk(13.4%, 0%, 70.7%, 67.8%)
CIE-LABlab(32.79, -13.66, 31.39)
CIE-LCHlch(32.79, 34.23, 113.53°)
OKLaboklab(41.59% -0.04 0.0713)
OKLCHoklch(41.59% 0.082 119.3)
XYZxyz(5.7808, 7.4402, 1.9955)
Luminance0.0744 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475218 #231852
analogous
#524018 #475218 #2A5218
triadic
#475218 #184752 #521847
tetradic
#475218 #185240 #231852 #52182A
square
#475218 #185240 #231852 #52182A
split-complementary
#475218 #182A52 #401852
monochromatic
#141807 #1E230A #475218 #708126 #99B134

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##475218#FFFFFF#000000##FFFFFF
##4752181.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)
#584D10
Deuteranopia (green-blind)
#564D1C
Tritanopia (blue-blind)
#4B4D46
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #475218;
/* rgb */ color: rgb(71, 82, 24);
/* oklch */ color: oklch(41.6% 0.082 119.3);
Tailwind
colors: {
  custom: {
    50: '#7c8258',
    500: '#475218',
    950: '#000000',
  },
}
SCSS
$custom: #475218;
$custom-light: #7c8258;
$custom-dark: #000000;
JSON
{
  "hex": "#475218",
  "rgb": {
    "r": 71,
    "g": 82,
    "b": 24
  },
  "hsl": {
    "h": 71.379,
    "s": 54.717,
    "l": 20.784
  },
  "oklch": {
    "l": 0.4159,
    "c": 0.08176,
    "h": 119.3
  },
  "luminance": 0.0744
}

Semantic roles & 50–950 ramp

primary
#475218
secondary
#4B3D89
accent
#4ADE66
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #475218

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

Preview Lab → · Contrast checker → · Palette generator →

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