#475E17#475E17

#475E17 is a dark, moderate yellow-green. Relative luminance 0.094; OKLCH L 44.8% C 0.100 H 125.9°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#475E17
RGBrgb(71, 94, 23)
HSLhsl(79, 61%, 23%)
HSVhsv(79, 76%, 37%)
CMYKcmyk(24.5%, 0%, 75.5%, 63.1%)
CIE-LABlab(36.76, -20.28, 35.91)
CIE-LCHlch(36.76, 41.24, 119.45°)
OKLaboklab(44.79% -0.0584 0.0807)
OKLCHoklch(44.79% 0.1 125.9)
XYZxyz(6.7559, 9.4068, 2.2702)
Luminance0.0941 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475E17 #2E175E
analogous
#5E5117 #475E17 #235E17
triadic
#475E17 #17475E #5E1747
tetradic
#475E17 #175E51 #2E175E #5E1723
square
#475E17 #175E51 #2E175E #5E1723
split-complementary
#475E17 #17235E #51175E
monochromatic
#131906 #222D0B #475E17 #6C8F23 #91C02F

Accessibility & contrast

On white

7.29
#475E17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#475E17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #475E17
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##475E17#FFFFFF#000000##FFFFFF
##475E171.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63570B
Deuteranopia (green-blind)
#60561D
Tritanopia (blue-blind)
#4A5950
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #475e17;
/* rgb */ color: rgb(71, 94, 23);
/* oklch */ color: oklch(44.8% 0.100 125.9);
Tailwind
colors: {
  custom: {
    50: '#7d8b59',
    500: '#475e17',
    950: '#000000',
  },
}
SCSS
$custom: #475e17;
$custom-light: #7d8b59;
$custom-dark: #000000;
JSON
{
  "hex": "#475e17",
  "rgb": {
    "r": 71,
    "g": 94,
    "b": 23
  },
  "hsl": {
    "h": 79.437,
    "s": 60.684,
    "l": 22.941
  },
  "oklch": {
    "l": 0.4479,
    "c": 0.09956,
    "h": 125.9
  },
  "luminance": 0.09407
}

Semantic roles & 50–950 ramp

primary
#475E17
secondary
#593C95
accent
#44E478
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C04
muted
#7C7D79

Preview Lab

Preview with #475E17

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

Preview Lab → · Contrast checker → · Palette generator →

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