#475F17#475F17

#475F17 is a mid, moderate yellow-green. Relative luminance 0.096; OKLCH L 45.1% C 0.101 H 126.3°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#475F17
RGBrgb(71, 95, 23)
HSLhsl(80, 61%, 23%)
HSVhsv(80, 76%, 37%)
CMYKcmyk(25.3%, 0%, 75.8%, 62.7%)
CIE-LABlab(37.09, -20.80, 36.25)
CIE-LCHlch(37.09, 41.79, 119.85°)
OKLaboklab(45.06% -0.0598 0.0814)
OKLCHoklch(45.06% 0.101 126.3)
XYZxyz(6.8454, 9.5858, 2.3000)
Luminance0.0959 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475F17 #2F175F
analogous
#5F5317 #475F17 #235F17
triadic
#475F17 #17475F #5F1747
tetradic
#475F17 #175F53 #2F175F #5F1723
square
#475F17 #175F53 #2F175F #5F1723
split-complementary
#475F17 #17235F #53175F
monochromatic
#121906 #222E0B #475F17 #6C9023 #91C22F

Accessibility & contrast

On white

7.20
#475F17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#475F17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #475F17
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##475F17#FFFFFF#000000##FFFFFF
##475F171.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#64580B
Deuteranopia (green-blind)
#61571D
Tritanopia (blue-blind)
#4A5A51
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #475f17;
/* rgb */ color: rgb(71, 95, 23);
/* oklch */ color: oklch(45.1% 0.101 126.3);
Tailwind
colors: {
  custom: {
    50: '#7d8c59',
    500: '#475f17',
    950: '#000000',
  },
}
SCSS
$custom: #475f17;
$custom-light: #7d8c59;
$custom-dark: #000000;
JSON
{
  "hex": "#475f17",
  "rgb": {
    "r": 71,
    "g": 95,
    "b": 23
  },
  "hsl": {
    "h": 80,
    "s": 61.017,
    "l": 23.137
  },
  "oklch": {
    "l": 0.45059,
    "c": 0.10097,
    "h": 126.3
  },
  "luminance": 0.09586
}

Semantic roles & 50–950 ramp

primary
#475F17
secondary
#5A3C96
accent
#44E479
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C04
muted
#7C7D79

Preview Lab

Preview with #475F17

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

Preview Lab → · Contrast checker → · Palette generator →

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