#475C17#475C17

#475C17 is a dark, moderate yellow-green. Relative luminance 0.091; OKLCH L 44.3% C 0.097 H 125.0°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#475C17
RGBrgb(71, 92, 23)
HSLhsl(78, 60%, 23%)
HSVhsv(78, 75%, 36%)
CMYKcmyk(22.8%, 0%, 75%, 63.9%)
CIE-LABlab(36.09, -19.22, 35.24)
CIE-LCHlch(36.09, 40.14, 118.61°)
OKLaboklab(44.25% -0.0555 0.0793)
OKLCHoklch(44.25% 0.097 125)
XYZxyz(6.5804, 9.0557, 2.2117)
Luminance0.0906 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475C17 #2C175C
analogous
#5C4F17 #475C17 #245C17
triadic
#475C17 #17475C #5C1747
tetradic
#475C17 #175C4F #2C175C #5C1724
square
#475C17 #175C4F #2C175C #5C1724
split-complementary
#475C17 #17245C #4F175C
monochromatic
#131806 #212B0B #475C17 #6D8D23 #93BE2F

Accessibility & contrast

On white

7.47
#475C17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#475C17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #475C17
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##475C17#FFFFFF#000000##FFFFFF
##475C171.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61560C
Deuteranopia (green-blind)
#5F551D
Tritanopia (blue-blind)
#4A574E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #475c17;
/* rgb */ color: rgb(71, 92, 23);
/* oklch */ color: oklch(44.3% 0.097 125.0);
Tailwind
colors: {
  custom: {
    50: '#7d8a59',
    500: '#475c17',
    950: '#000000',
  },
}
SCSS
$custom: #475c17;
$custom-light: #7d8a59;
$custom-dark: #000000;
JSON
{
  "hex": "#475c17",
  "rgb": {
    "r": 71,
    "g": 92,
    "b": 23
  },
  "hsl": {
    "h": 78.261,
    "s": 60,
    "l": 22.549
  },
  "oklch": {
    "l": 0.44252,
    "c": 0.09674,
    "h": 125
  },
  "luminance": 0.09056
}

Semantic roles & 50–950 ramp

primary
#475C17
secondary
#563C93
accent
#45E375
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0B04
muted
#7C7C79

Preview Lab

Preview with #475C17

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

Preview Lab → · Contrast checker → · Palette generator →

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