#475317#475317

#475317 is a dark, moderate yellow-green. Relative luminance 0.076; OKLCH L 41.8% C 0.084 H 119.9°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#475317
RGBrgb(71, 83, 23)
HSLhsl(72, 57%, 21%)
HSVhsv(72, 72%, 33%)
CMYKcmyk(14.5%, 0%, 72.3%, 67.5%)
CIE-LABlab(33.11, -14.31, 32.19)
CIE-LCHlch(33.11, 35.23, 113.96°)
OKLaboklab(41.85% -0.0419 0.0728)
OKLCHoklch(41.85% 0.084 119.9)
XYZxyz(5.8465, 7.5880, 1.9671)
Luminance0.0759 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475317 #231753
analogous
#534117 #475317 #295317
triadic
#475317 #174753 #531747
tetradic
#475317 #175341 #231753 #531729
square
#475317 #175341 #231753 #531729
split-complementary
#475317 #172953 #411753
monochromatic
#141807 #1E230A #475317 #708324 #99B332

Accessibility & contrast

On white

8.34
#475317 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#475317 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #475317
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##475317#FFFFFF#000000##FFFFFF
##4753171.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E0F
Deuteranopia (green-blind)
#574E1B
Tritanopia (blue-blind)
#4B4E47
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #475317;
/* rgb */ color: rgb(71, 83, 23);
/* oklch */ color: oklch(41.8% 0.084 119.9);
Tailwind
colors: {
  custom: {
    50: '#7c8358',
    500: '#475317',
    950: '#000000',
  },
}
SCSS
$custom: #475317;
$custom-light: #7c8358;
$custom-dark: #000000;
JSON
{
  "hex": "#475317",
  "rgb": {
    "r": 71,
    "g": 83,
    "b": 23
  },
  "hsl": {
    "h": 72,
    "s": 56.604,
    "l": 20.784
  },
  "oklch": {
    "l": 0.41845,
    "c": 0.08403,
    "h": 119.9
  },
  "luminance": 0.07588
}

Semantic roles & 50–950 ramp

primary
#475317
secondary
#4B3C8A
accent
#48E066
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #475317

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

Preview Lab → · Contrast checker → · Palette generator →

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