#475517#475517

#475517 is a dark, moderate yellow-green. Relative luminance 0.079; OKLCH L 42.4% C 0.087 H 121.2°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#475517
RGBrgb(71, 85, 23)
HSLhsl(74, 57%, 21%)
HSVhsv(74, 73%, 33%)
CMYKcmyk(16.5%, 0%, 72.9%, 66.7%)
CIE-LABlab(33.77, -15.42, 32.88)
CIE-LCHlch(33.77, 36.31, 115.13°)
OKLaboklab(42.38% -0.045 0.0743)
OKLCHoklch(42.38% 0.087 121.2)
XYZxyz(6.0018, 7.8985, 2.0188)
Luminance0.0790 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475517 #251755
analogous
#554417 #475517 #285517
triadic
#475517 #174755 #551747
tetradic
#475517 #175544 #251755 #551728
square
#475517 #175544 #251755 #551728
split-complementary
#475517 #172855 #441755
monochromatic
#141807 #1F250A #475517 #6F8524 #97B531

Accessibility & contrast

On white

8.14
#475517 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#475517 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #475517
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##475517#FFFFFF#000000##FFFFFF
##4755171.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B500E
Deuteranopia (green-blind)
#594F1C
Tritanopia (blue-blind)
#4B5048
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #475517;
/* rgb */ color: rgb(71, 85, 23);
/* oklch */ color: oklch(42.4% 0.087 121.2);
Tailwind
colors: {
  custom: {
    50: '#7c8458',
    500: '#475517',
    950: '#000000',
  },
}
SCSS
$custom: #475517;
$custom-light: #7c8458;
$custom-dark: #000000;
JSON
{
  "hex": "#475517",
  "rgb": {
    "r": 71,
    "g": 85,
    "b": 23
  },
  "hsl": {
    "h": 73.548,
    "s": 57.407,
    "l": 21.176
  },
  "oklch": {
    "l": 0.42378,
    "c": 0.08685,
    "h": 121.2
  },
  "luminance": 0.07898
}

Semantic roles & 50–950 ramp

primary
#475517
secondary
#4E3C8C
accent
#47E16A
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#0A0B03
muted
#7C7C78

Preview Lab

Preview with #475517

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

Preview Lab → · Contrast checker → · Palette generator →

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