#475618#475618

#475618 is a dark, moderate yellow-green. Relative luminance 0.081; OKLCH L 42.7% C 0.087 H 121.9°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#475618
RGBrgb(71, 86, 24)
HSLhsl(75, 56%, 22%)
HSVhsv(75, 72%, 34%)
CMYKcmyk(17.4%, 0%, 72.1%, 66.3%)
CIE-LABlab(34.11, -15.90, 32.77)
CIE-LCHlch(34.11, 36.42, 115.88°)
OKLaboklab(42.65% -0.0462 0.0742)
OKLCHoklch(42.65% 0.087 121.9)
XYZxyz(6.0913, 8.0611, 2.0990)
Luminance0.0806 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475618 #271856
analogous
#564618 #475618 #285618
triadic
#475618 #184756 #561847
tetradic
#475618 #185646 #271856 #561828
square
#475618 #185646 #271856 #561828
split-complementary
#475618 #182856 #461856
monochromatic
#141807 #1F260B #475618 #6F8625 #96B633

Accessibility & contrast

On white

8.04
#475618 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#475618 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #475618
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##475618#FFFFFF#000000##FFFFFF
##4756181.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B510F
Deuteranopia (green-blind)
#5A501D
Tritanopia (blue-blind)
#4B5149
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #475618;
/* rgb */ color: rgb(71, 86, 24);
/* oklch */ color: oklch(42.7% 0.087 121.9);
Tailwind
colors: {
  custom: {
    50: '#7c8559',
    500: '#475618',
    950: '#000000',
  },
}
SCSS
$custom: #475618;
$custom-light: #7c8559;
$custom-dark: #000000;
JSON
{
  "hex": "#475618",
  "rgb": {
    "r": 71,
    "g": 86,
    "b": 24
  },
  "hsl": {
    "h": 74.516,
    "s": 56.364,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42654,
    "c": 0.08743,
    "h": 121.9
  },
  "luminance": 0.08061
}

Semantic roles & 50–950 ramp

primary
#475618
secondary
#503D8D
accent
#48E06D
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#0A0B04
muted
#7C7C79

Preview Lab

Preview with #475618

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

Preview Lab → · Contrast checker → · Palette generator →

#475618 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva