#475628#475628

#475628 is a dark, moderate yellow-green. Relative luminance 0.081; OKLCH L 42.9% C 0.071 H 124.2°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#475628
RGBrgb(71, 86, 40)
HSLhsl(80, 37%, 25%)
HSVhsv(80, 53%, 34%)
CMYKcmyk(17.4%, 0%, 53.5%, 66.3%)
CIE-LABlab(34.29, -14.32, 24.68)
CIE-LCHlch(34.29, 28.53, 120.12°)
OKLaboklab(42.86% -0.0401 0.0589)
OKLCHoklch(42.86% 0.071 124.2)
XYZxyz(6.3093, 8.1483, 3.2475)
Luminance0.0815 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475628 #372856
analogous
#564E28 #475628 #305628
triadic
#475628 #284756 #562847
tetradic
#475628 #28564E #372856 #562830
square
#475628 #28564E #372856 #562830
split-complementary
#475628 #283056 #4E2856
monochromatic
#11150A #252C15 #475628 #69803B #8CAA4F

Accessibility & contrast

On white

7.99
#475628 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#475628 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #475628
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##475628#FFFFFF#000000##FFFFFF
##4756281.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5124
Deuteranopia (green-blind)
#58502B
Tritanopia (blue-blind)
#4A524B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #475628;
/* rgb */ color: rgb(71, 86, 40);
/* oklch */ color: oklch(42.9% 0.071 124.2);
Tailwind
colors: {
  custom: {
    50: '#7b8563',
    500: '#475628',
    950: '#000000',
  },
}
SCSS
$custom: #475628;
$custom-light: #7b8563;
$custom-dark: #000000;
JSON
{
  "hex": "#475628",
  "rgb": {
    "r": 71,
    "g": 86,
    "b": 40
  },
  "hsl": {
    "h": 79.565,
    "s": 36.508,
    "l": 24.706
  },
  "oklch": {
    "l": 0.42857,
    "c": 0.07126,
    "h": 124.2
  },
  "luminance": 0.08148
}

Semantic roles & 50–950 ramp

primary
#475628
secondary
#635189
accent
#5BCD80
background
#F7F8F5
surface
#EEEFEA
border
#C9CAC6
text
#090B05
muted
#7B7C79

Preview Lab

Preview with #475628

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

Preview Lab → · Contrast checker → · Palette generator →

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