#475712#475712

#475712 is a dark, moderate yellow-green. Relative luminance 0.082; OKLCH L 42.9% C 0.093 H 122.0°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#475712
RGBrgb(71, 87, 18)
HSLhsl(74, 66%, 21%)
HSVhsv(74, 79%, 34%)
CMYKcmyk(18.4%, 0%, 79.3%, 65.9%)
CIE-LABlab(34.40, -16.86, 35.63)
CIE-LCHlch(34.40, 39.42, 115.32°)
OKLaboklab(42.87% -0.0495 0.0792)
OKLCHoklch(42.87% 0.093 122)
XYZxyz(6.1160, 8.1996, 1.8326)
Luminance0.0820 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475712 #221257
analogous
#574412 #475712 #245712
triadic
#475712 #124757 #571247
tetradic
#475712 #125744 #221257 #571224
square
#475712 #125744 #221257 #571224
split-complementary
#475712 #122457 #441257
monochromatic
#151905 #1E2408 #475712 #708A1C #9ABC27

Accessibility & contrast

On white

7.95
#475712 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#475712 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #475712
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##475712#FFFFFF#000000##FFFFFF
##4757121.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5105
Deuteranopia (green-blind)
#5B5118
Tritanopia (blue-blind)
#4B524A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #475712;
/* rgb */ color: rgb(71, 87, 18);
/* oklch */ color: oklch(42.9% 0.093 122.0);
Tailwind
colors: {
  custom: {
    50: '#7d8656',
    500: '#475712',
    950: '#000000',
  },
}
SCSS
$custom: #475712;
$custom-light: #7d8656;
$custom-dark: #000000;
JSON
{
  "hex": "#475712",
  "rgb": {
    "r": 71,
    "g": 87,
    "b": 18
  },
  "hsl": {
    "h": 73.913,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.42869,
    "c": 0.09336,
    "h": 122
  },
  "luminance": 0.082
}

Semantic roles & 50–950 ramp

primary
#475712
secondary
#4A3590
accent
#3FE966
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#0A0B03
muted
#7C7C78

Preview Lab

Preview with #475712

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

Preview Lab → · Contrast checker → · Palette generator →

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