#475612#475612

#475612 is a dark, moderate yellow-green. Relative luminance 0.080; OKLCH L 42.6% C 0.092 H 121.4°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#475612
RGBrgb(71, 86, 18)
HSLhsl(73, 65%, 20%)
HSVhsv(73, 79%, 34%)
CMYKcmyk(17.4%, 0%, 79.1%, 66.3%)
CIE-LABlab(34.06, -16.31, 35.31)
CIE-LCHlch(34.06, 38.90, 114.79°)
OKLaboklab(42.6% -0.048 0.0785)
OKLCHoklch(42.6% 0.092 121.4)
XYZxyz(6.0356, 8.0388, 1.8058)
Luminance0.0804 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475612 #211256
analogous
#564312 #475612 #255612
triadic
#475612 #124756 #561247
tetradic
#475612 #125643 #211256 #561225
square
#475612 #125643 #211256 #561225
split-complementary
#475612 #122556 #431256
monochromatic
#151905 #1D2307 #475612 #71891D #9BBB27

Accessibility & contrast

On white

8.05
#475612 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#475612 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #475612
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##475612#FFFFFF#000000##FFFFFF
##4756121.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5005
Deuteranopia (green-blind)
#5A5018
Tritanopia (blue-blind)
#4B5149
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #475612;
/* rgb */ color: rgb(71, 86, 18);
/* oklch */ color: oklch(42.6% 0.092 121.4);
Tailwind
colors: {
  custom: {
    50: '#7d8555',
    500: '#475612',
    950: '#000000',
  },
}
SCSS
$custom: #475612;
$custom-light: #7d8555;
$custom-dark: #000000;
JSON
{
  "hex": "#475612",
  "rgb": {
    "r": 71,
    "g": 86,
    "b": 18
  },
  "hsl": {
    "h": 73.235,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.42602,
    "c": 0.09199,
    "h": 121.4
  },
  "luminance": 0.08039
}

Semantic roles & 50–950 ramp

primary
#475612
secondary
#49358F
accent
#3FE865
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#0A0B03
muted
#7C7C78

Preview Lab

Preview with #475612

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

Preview Lab → · Contrast checker → · Palette generator →

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