#475512#475512

#475512 is a dark, moderate yellow-green. Relative luminance 0.079; OKLCH L 42.3% C 0.091 H 120.8°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#475512
RGBrgb(71, 85, 18)
HSLhsl(73, 65%, 20%)
HSVhsv(73, 79%, 33%)
CMYKcmyk(16.5%, 0%, 78.8%, 66.7%)
CIE-LABlab(33.73, -15.76, 34.99)
CIE-LCHlch(33.73, 38.38, 114.25°)
OKLaboklab(42.34% -0.0464 0.0778)
OKLCHoklch(42.34% 0.091 120.8)
XYZxyz(5.9563, 7.8803, 1.7794)
Luminance0.0788 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475512 #201255
analogous
#554112 #475512 #265512
triadic
#475512 #124755 #551247
tetradic
#475512 #125541 #201255 #551226
square
#475512 #125541 #201255 #551226
split-complementary
#475512 #122655 #411255
monochromatic
#151905 #1D2207 #475512 #71881D #9BBA27

Accessibility & contrast

On white

8.15
#475512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#475512 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #475512
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##475512#FFFFFF#000000##FFFFFF
##4755121.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5006
Deuteranopia (green-blind)
#594F18
Tritanopia (blue-blind)
#4B5048
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #475512;
/* rgb */ color: rgb(71, 85, 18);
/* oklch */ color: oklch(42.3% 0.091 120.8);
Tailwind
colors: {
  custom: {
    50: '#7d8455',
    500: '#475512',
    950: '#000000',
  },
}
SCSS
$custom: #475512;
$custom-light: #7d8455;
$custom-dark: #000000;
JSON
{
  "hex": "#475512",
  "rgb": {
    "r": 71,
    "g": 85,
    "b": 18
  },
  "hsl": {
    "h": 72.537,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.42335,
    "c": 0.09063,
    "h": 120.8
  },
  "luminance": 0.0788
}

Semantic roles & 50–950 ramp

primary
#475512
secondary
#48358E
accent
#40E863
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#0A0B03
muted
#7C7C78

Preview Lab

Preview with #475512

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

Preview Lab → · Contrast checker → · Palette generator →

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