#475A17#475A17

#475A17 is a dark, moderate yellow-green. Relative luminance 0.087; OKLCH L 43.7% C 0.094 H 124.0°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#475A17
RGBrgb(71, 90, 23)
HSLhsl(77, 59%, 22%)
HSVhsv(77, 74%, 35%)
CMYKcmyk(21.1%, 0%, 74.4%, 64.7%)
CIE-LABlab(35.43, -18.15, 34.57)
CIE-LCHlch(35.43, 39.05, 117.70°)
OKLaboklab(43.72% -0.0525 0.0778)
OKLCHoklch(43.72% 0.094 124)
XYZxyz(6.4094, 8.7137, 2.1547)
Luminance0.0871 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475A17 #2A175A
analogous
#5A4C17 #475A17 #265A17
triadic
#475A17 #17475A #5A1747
tetradic
#475A17 #175A4C #2A175A #5A1726
square
#475A17 #175A4C #2A175A #5A1726
split-complementary
#475A17 #17265A #4C175A
monochromatic
#131806 #21290B #475A17 #6D8B23 #94BB30

Accessibility & contrast

On white

7.66
#475A17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#475A17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #475A17
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##475A17#FFFFFF#000000##FFFFFF
##475A171.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F540D
Deuteranopia (green-blind)
#5D531D
Tritanopia (blue-blind)
#4B554D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #475a17;
/* rgb */ color: rgb(71, 90, 23);
/* oklch */ color: oklch(43.7% 0.094 124.0);
Tailwind
colors: {
  custom: {
    50: '#7c8859',
    500: '#475a17',
    950: '#000000',
  },
}
SCSS
$custom: #475a17;
$custom-light: #7c8859;
$custom-dark: #000000;
JSON
{
  "hex": "#475a17",
  "rgb": {
    "r": 71,
    "g": 90,
    "b": 23
  },
  "hsl": {
    "h": 77.015,
    "s": 59.292,
    "l": 22.157
  },
  "oklch": {
    "l": 0.43715,
    "c": 0.09391,
    "h": 124
  },
  "luminance": 0.08714
}

Semantic roles & 50–950 ramp

primary
#475A17
secondary
#543C91
accent
#45E272
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#0A0B04
muted
#7C7C79

Preview Lab

Preview with #475A17

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

Preview Lab → · Contrast checker → · Palette generator →

#475A17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva