#475A18#475A18

#475A18 is a dark, moderate yellow-green. Relative luminance 0.087; OKLCH L 43.7% C 0.093 H 124.1°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#475A18
RGBrgb(71, 90, 24)
HSLhsl(77, 58%, 22%)
HSVhsv(77, 73%, 35%)
CMYKcmyk(21.1%, 0%, 73.3%, 64.7%)
CIE-LABlab(35.44, -18.08, 34.14)
CIE-LCHlch(35.44, 38.63, 117.91°)
OKLaboklab(43.72% -0.0522 0.0771)
OKLCHoklch(43.72% 0.093 124.1)
XYZxyz(6.4196, 8.7178, 2.2085)
Luminance0.0872 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475A18 #2B185A
analogous
#5A4C18 #475A18 #265A18
triadic
#475A18 #18475A #5A1847
tetradic
#475A18 #185A4C #2B185A #5A1826
square
#475A18 #185A4C #2B185A #5A1826
split-complementary
#475A18 #18265A #4C185A
monochromatic
#131806 #212A0B #475A18 #6D8A25 #93BB32

Accessibility & contrast

On white

7.65
#475A18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#475A18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #475A18
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##475A18#FFFFFF#000000##FFFFFF
##475A181.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F540E
Deuteranopia (green-blind)
#5D531D
Tritanopia (blue-blind)
#4B554D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #475a18;
/* rgb */ color: rgb(71, 90, 24);
/* oklch */ color: oklch(43.7% 0.093 124.1);
Tailwind
colors: {
  custom: {
    50: '#7c8859',
    500: '#475a18',
    950: '#000000',
  },
}
SCSS
$custom: #475a18;
$custom-light: #7c8859;
$custom-dark: #000000;
JSON
{
  "hex": "#475a18",
  "rgb": {
    "r": 71,
    "g": 90,
    "b": 24
  },
  "hsl": {
    "h": 77.273,
    "s": 57.895,
    "l": 22.353
  },
  "oklch": {
    "l": 0.43724,
    "c": 0.09313,
    "h": 124.1
  },
  "luminance": 0.08718
}

Semantic roles & 50–950 ramp

primary
#475A18
secondary
#553D91
accent
#47E173
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#0A0B04
muted
#7C7C79

Preview Lab

Preview with #475A18

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

Preview Lab → · Contrast checker → · Palette generator →

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