#475912#475912

#475912 is a dark, moderate yellow-green. Relative luminance 0.085; OKLCH L 43.4% C 0.096 H 123.1°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#475912
RGBrgb(71, 89, 18)
HSLhsl(75, 66%, 21%)
HSVhsv(75, 80%, 35%)
CMYKcmyk(20.2%, 0%, 79.8%, 65.1%)
CIE-LABlab(35.06, -17.94, 36.27)
CIE-LCHlch(35.06, 40.47, 116.32°)
OKLaboklab(43.41% -0.0524 0.0805)
OKLCHoklch(43.41% 0.096 123.1)
XYZxyz(6.2802, 8.5280, 1.8874)
Luminance0.0853 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475912 #241259
analogous
#594712 #475912 #235912
triadic
#475912 #124759 #591247
tetradic
#475912 #125947 #241259 #591223
square
#475912 #125947 #241259 #591223
split-complementary
#475912 #122359 #471259
monochromatic
#141905 #1E2608 #475912 #708C1C #98BF27

Accessibility & contrast

On white

7.76
#475912 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#475912 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #475912
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##475912#FFFFFF#000000##FFFFFF
##4759121.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5304
Deuteranopia (green-blind)
#5C5218
Tritanopia (blue-blind)
#4B544B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #475912;
/* rgb */ color: rgb(71, 89, 18);
/* oklch */ color: oklch(43.4% 0.096 123.1);
Tailwind
colors: {
  custom: {
    50: '#7d8856',
    500: '#475912',
    950: '#000000',
  },
}
SCSS
$custom: #475912;
$custom-light: #7d8856;
$custom-dark: #000000;
JSON
{
  "hex": "#475912",
  "rgb": {
    "r": 71,
    "g": 89,
    "b": 18
  },
  "hsl": {
    "h": 75.211,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.43406,
    "c": 0.09609,
    "h": 123.1
  },
  "luminance": 0.08528
}

Semantic roles & 50–950 ramp

primary
#475912
secondary
#4D3592
accent
#3FE96A
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#0A0B03
muted
#7C7C78

Preview Lab

Preview with #475912

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

Preview Lab → · Contrast checker → · Palette generator →

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