#475D17#475D17

#475D17 is a dark, moderate yellow-green. Relative luminance 0.092; OKLCH L 44.5% C 0.098 H 125.5°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#475D17
RGBrgb(71, 93, 23)
HSLhsl(79, 60%, 23%)
HSVhsv(79, 75%, 36%)
CMYKcmyk(23.7%, 0%, 75.3%, 63.5%)
CIE-LABlab(36.42, -19.75, 35.58)
CIE-LCHlch(36.42, 40.69, 119.04°)
OKLaboklab(44.52% -0.0569 0.0799)
OKLCHoklch(44.52% 0.098 125.5)
XYZxyz(6.6676, 9.2301, 2.2408)
Luminance0.0923 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475D17 #2D175D
analogous
#5D5017 #475D17 #245D17
triadic
#475D17 #17475D #5D1747
tetradic
#475D17 #175D50 #2D175D #5D1724
square
#475D17 #175D50 #2D175D #5D1724
split-complementary
#475D17 #17245D #50175D
monochromatic
#131906 #222C0B #475D17 #6C8E23 #92BF2F

Accessibility & contrast

On white

7.38
#475D17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#475D17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #475D17
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##475D17#FFFFFF#000000##FFFFFF
##475D171.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62560B
Deuteranopia (green-blind)
#5F551D
Tritanopia (blue-blind)
#4A584F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #475d17;
/* rgb */ color: rgb(71, 93, 23);
/* oklch */ color: oklch(44.5% 0.098 125.5);
Tailwind
colors: {
  custom: {
    50: '#7d8b59',
    500: '#475d17',
    950: '#000000',
  },
}
SCSS
$custom: #475d17;
$custom-light: #7d8b59;
$custom-dark: #000000;
JSON
{
  "hex": "#475d17",
  "rgb": {
    "r": 71,
    "g": 93,
    "b": 23
  },
  "hsl": {
    "h": 78.857,
    "s": 60.345,
    "l": 22.745
  },
  "oklch": {
    "l": 0.44521,
    "c": 0.09815,
    "h": 125.5
  },
  "luminance": 0.0923
}

Semantic roles & 50–950 ramp

primary
#475D17
secondary
#583C94
accent
#44E376
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C04
muted
#7C7D79

Preview Lab

Preview with #475D17

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

Preview Lab → · Contrast checker → · Palette generator →

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