#475716#475716

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

Color values

HEX#475716
RGBrgb(71, 87, 22)
HSLhsl(75, 60%, 21%)
HSVhsv(75, 75%, 34%)
CMYKcmyk(18.4%, 0%, 74.7%, 65.9%)
CIE-LABlab(34.42, -16.60, 33.99)
CIE-LCHlch(34.42, 37.83, 116.03°)
OKLaboklab(42.9% -0.0483 0.0765)
OKLCHoklch(42.9% 0.09 122.3)
XYZxyz(6.1516, 8.2139, 2.0203)
Luminance0.0821 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475716 #261657
analogous
#574716 #475716 #275716
triadic
#475716 #164757 #571647
tetradic
#475716 #165747 #261657 #571627
square
#475716 #165747 #261657 #571627
split-complementary
#475716 #162757 #471657
monochromatic
#141806 #1F260A #475716 #6F8822 #97B92F

Accessibility & contrast

On white

7.95
#475716 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #475716
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##475716#FFFFFF#000000##FFFFFF
##4757161.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #475716;
/* rgb */ color: rgb(71, 87, 22);
/* oklch */ color: oklch(42.9% 0.090 122.3);
Tailwind
colors: {
  custom: {
    50: '#7c8658',
    500: '#475716',
    950: '#000000',
  },
}
SCSS
$custom: #475716;
$custom-light: #7c8658;
$custom-dark: #000000;
JSON
{
  "hex": "#475716",
  "rgb": {
    "r": 71,
    "g": 87,
    "b": 22
  },
  "hsl": {
    "h": 74.769,
    "s": 59.633,
    "l": 21.373
  },
  "oklch": {
    "l": 0.42902,
    "c": 0.09046,
    "h": 122.3
  },
  "luminance": 0.08214
}

Semantic roles & 50–950 ramp

primary
#475716
secondary
#4F3A8E
accent
#45E36C
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#0A0B03
muted
#7C7C78

Preview Lab

Preview with #475716

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

Preview Lab → · Contrast checker → · Palette generator →

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