#475117#475117

#475117 is a dark, moderate yellow-green. Relative luminance 0.073; OKLCH L 41.3% C 0.081 H 118.5°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#475117
RGBrgb(71, 81, 23)
HSLhsl(70, 56%, 20%)
HSVhsv(70, 72%, 32%)
CMYKcmyk(12.3%, 0%, 71.6%, 68.2%)
CIE-LABlab(32.45, -13.18, 31.51)
CIE-LCHlch(32.45, 34.15, 112.69°)
OKLaboklab(41.32% -0.0387 0.0714)
OKLCHoklch(41.32% 0.081 118.5)
XYZxyz(5.6957, 7.2864, 1.9168)
Luminance0.0729 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475117 #211751
analogous
#513E17 #475117 #2A5117
triadic
#475117 #174751 #511747
tetradic
#475117 #17513E #211751 #51172A
square
#475117 #17513E #211751 #51172A
split-complementary
#475117 #172A51 #3E1751
monochromatic
#151807 #1D2109 #475117 #718125 #9BB032

Accessibility & contrast

On white

8.55
#475117 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#475117 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #475117
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##475117#FFFFFF#000000##FFFFFF
##4751171.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C0F
Deuteranopia (green-blind)
#564D1B
Tritanopia (blue-blind)
#4B4C45
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #475117;
/* rgb */ color: rgb(71, 81, 23);
/* oklch */ color: oklch(41.3% 0.081 118.5);
Tailwind
colors: {
  custom: {
    50: '#7c8158',
    500: '#475117',
    950: '#000000',
  },
}
SCSS
$custom: #475117;
$custom-light: #7c8158;
$custom-dark: #000000;
JSON
{
  "hex": "#475117",
  "rgb": {
    "r": 71,
    "g": 81,
    "b": 23
  },
  "hsl": {
    "h": 70.345,
    "s": 55.769,
    "l": 20.392
  },
  "oklch": {
    "l": 0.41315,
    "c": 0.08123,
    "h": 118.5
  },
  "luminance": 0.07286
}

Semantic roles & 50–950 ramp

primary
#475117
secondary
#493C88
accent
#49DF63
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #475117

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

Preview Lab → · Contrast checker → · Palette generator →

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