#475718#475718

#475718 is a dark, moderate yellow-green. Relative luminance 0.082; OKLCH L 42.9% C 0.089 H 122.5°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#475718
RGBrgb(71, 87, 24)
HSLhsl(75, 57%, 22%)
HSVhsv(75, 72%, 34%)
CMYKcmyk(18.4%, 0%, 72.4%, 65.9%)
CIE-LABlab(34.44, -16.45, 33.11)
CIE-LCHlch(34.44, 36.97, 116.42°)
OKLaboklab(42.92% -0.0477 0.0749)
OKLCHoklch(42.92% 0.089 122.5)
XYZxyz(6.1717, 8.2219, 2.1258)
Luminance0.0822 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475718 #281857
analogous
#574818 #475718 #285718
triadic
#475718 #184757 #571847
tetradic
#475718 #185748 #281857 #571828
square
#475718 #185748 #281857 #571828
split-complementary
#475718 #182857 #481857
monochromatic
#141807 #20270B #475718 #6E8725 #95B732

Accessibility & contrast

On white

7.94
#475718 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#475718 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #475718
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##475718#FFFFFF#000000##FFFFFF
##4757181.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C510F
Deuteranopia (green-blind)
#5A511D
Tritanopia (blue-blind)
#4B524A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #475718;
/* rgb */ color: rgb(71, 87, 24);
/* oklch */ color: oklch(42.9% 0.089 122.5);
Tailwind
colors: {
  custom: {
    50: '#7c8659',
    500: '#475718',
    950: '#000000',
  },
}
SCSS
$custom: #475718;
$custom-light: #7c8659;
$custom-dark: #000000;
JSON
{
  "hex": "#475718",
  "rgb": {
    "r": 71,
    "g": 87,
    "b": 24
  },
  "hsl": {
    "h": 75.238,
    "s": 56.757,
    "l": 21.765
  },
  "oklch": {
    "l": 0.42921,
    "c": 0.08885,
    "h": 122.5
  },
  "luminance": 0.08222
}

Semantic roles & 50–950 ramp

primary
#475718
secondary
#523D8E
accent
#48E06E
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#0A0B04
muted
#7C7C79

Preview Lab

Preview with #475718

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

Preview Lab → · Contrast checker → · Palette generator →

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