#475E18#475E18

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

Color values

HEX#475E18
RGBrgb(71, 94, 24)
HSLhsl(80, 59%, 23%)
HSVhsv(80, 74%, 37%)
CMYKcmyk(24.5%, 0%, 74.5%, 63.1%)
CIE-LABlab(36.76, -20.21, 35.49)
CIE-LCHlch(36.76, 40.84, 119.65°)
OKLaboklab(44.8% -0.0581 0.0799)
OKLCHoklch(44.8% 0.099 126)
XYZxyz(6.7661, 9.4108, 2.3240)
Luminance0.0941 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475E18 #2F185E
analogous
#5E5218 #475E18 #245E18
triadic
#475E18 #18475E #5E1847
tetradic
#475E18 #185E52 #2F185E #5E1824
square
#475E18 #185E52 #2F185E #5E1824
split-complementary
#475E18 #18245E #52185E
monochromatic
#121806 #222D0C #475E18 #6C8F24 #91C031

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##475E18#FFFFFF#000000##FFFFFF
##475E181.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)
#63570D
Deuteranopia (green-blind)
#60561E
Tritanopia (blue-blind)
#4A5950
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #475e18;
/* rgb */ color: rgb(71, 94, 24);
/* oklch */ color: oklch(44.8% 0.099 126.0);
Tailwind
colors: {
  custom: {
    50: '#7d8b5a',
    500: '#475e18',
    950: '#000000',
  },
}
SCSS
$custom: #475e18;
$custom-light: #7d8b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#475e18",
  "rgb": {
    "r": 71,
    "g": 94,
    "b": 24
  },
  "hsl": {
    "h": 79.714,
    "s": 59.322,
    "l": 23.137
  },
  "oklch": {
    "l": 0.44798,
    "c": 0.09881,
    "h": 126
  },
  "luminance": 0.09411
}

Semantic roles & 50–950 ramp

primary
#475E18
secondary
#5A3D94
accent
#45E379
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C04
muted
#7C7D79

Preview Lab

Preview with #475E18

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

Preview Lab → · Contrast checker → · Palette generator →

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