#475617#475617

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

Color values

HEX#475617
RGBrgb(71, 86, 23)
HSLhsl(74, 58%, 21%)
HSVhsv(74, 73%, 34%)
CMYKcmyk(17.4%, 0%, 73.3%, 66.3%)
CIE-LABlab(34.10, -15.97, 33.22)
CIE-LCHlch(34.10, 36.86, 115.68°)
OKLaboklab(42.64% -0.0465 0.075)
OKLCHoklch(42.64% 0.088 121.8)
XYZxyz(6.0811, 8.0570, 2.0452)
Luminance0.0806 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475617 #261756
analogous
#564617 #475617 #285617
triadic
#475617 #174756 #561747
tetradic
#475617 #175646 #261756 #561728
square
#475617 #175646 #261756 #561728
split-complementary
#475617 #172856 #461756
monochromatic
#141806 #1F260A #475617 #6F8624 #97B731

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##475617#FFFFFF#000000##FFFFFF
##4756171.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)
#5B500E
Deuteranopia (green-blind)
#5A501C
Tritanopia (blue-blind)
#4B5149
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #475617;
/* rgb */ color: rgb(71, 86, 23);
/* oklch */ color: oklch(42.6% 0.088 121.8);
Tailwind
colors: {
  custom: {
    50: '#7c8558',
    500: '#475617',
    950: '#000000',
  },
}
SCSS
$custom: #475617;
$custom-light: #7c8558;
$custom-dark: #000000;
JSON
{
  "hex": "#475617",
  "rgb": {
    "r": 71,
    "g": 86,
    "b": 23
  },
  "hsl": {
    "h": 74.286,
    "s": 57.798,
    "l": 21.373
  },
  "oklch": {
    "l": 0.42644,
    "c": 0.08825,
    "h": 121.8
  },
  "luminance": 0.08057
}

Semantic roles & 50–950 ramp

primary
#475617
secondary
#4F3C8D
accent
#47E16B
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#0A0B03
muted
#7C7C78

Preview Lab

Preview with #475617

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

Preview Lab → · Contrast checker → · Palette generator →

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