#475B17#475B17

#475B17 is a dark, moderate yellow-green. Relative luminance 0.089; OKLCH L 44.0% C 0.095 H 124.5°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#475B17
RGBrgb(71, 91, 23)
HSLhsl(78, 60%, 22%)
HSVhsv(78, 75%, 36%)
CMYKcmyk(22%, 0%, 74.7%, 64.3%)
CIE-LABlab(35.76, -18.69, 34.91)
CIE-LCHlch(35.76, 39.60, 118.17°)
OKLaboklab(43.98% -0.054 0.0785)
OKLCHoklch(43.98% 0.095 124.5)
XYZxyz(6.4943, 8.8836, 2.1830)
Luminance0.0888 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475B17 #2B175B
analogous
#5B4D17 #475B17 #255B17
triadic
#475B17 #17475B #5B1747
tetradic
#475B17 #175B4D #2B175B #5B1725
square
#475B17 #175B4D #2B175B #5B1725
split-complementary
#475B17 #17255B #4D175B
monochromatic
#131806 #212A0B #475B17 #6D8C23 #93BD30

Accessibility & contrast

On white

7.56
#475B17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#475B17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #475B17
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##475B17#FFFFFF#000000##FFFFFF
##475B171.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60550C
Deuteranopia (green-blind)
#5E541D
Tritanopia (blue-blind)
#4B564E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #475b17;
/* rgb */ color: rgb(71, 91, 23);
/* oklch */ color: oklch(44.0% 0.095 124.5);
Tailwind
colors: {
  custom: {
    50: '#7d8959',
    500: '#475b17',
    950: '#000000',
  },
}
SCSS
$custom: #475b17;
$custom-light: #7d8959;
$custom-dark: #000000;
JSON
{
  "hex": "#475b17",
  "rgb": {
    "r": 71,
    "g": 91,
    "b": 23
  },
  "hsl": {
    "h": 77.647,
    "s": 59.649,
    "l": 22.353
  },
  "oklch": {
    "l": 0.43983,
    "c": 0.09532,
    "h": 124.5
  },
  "luminance": 0.08884
}

Semantic roles & 50–950 ramp

primary
#475B17
secondary
#553C92
accent
#45E373
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0B04
muted
#7C7C79

Preview Lab

Preview with #475B17

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

Preview Lab → · Contrast checker → · Palette generator →

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