#475816#475816

#475816 is a dark, moderate yellow-green. Relative luminance 0.084; OKLCH L 43.2% C 0.092 H 122.9°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#475816
RGBrgb(71, 88, 22)
HSLhsl(75, 60%, 22%)
HSVhsv(75, 75%, 35%)
CMYKcmyk(19.3%, 0%, 75%, 65.5%)
CIE-LABlab(34.76, -17.14, 34.33)
CIE-LCHlch(34.76, 38.37, 116.54°)
OKLaboklab(43.17% -0.0499 0.0772)
OKLCHoklch(43.17% 0.092 122.9)
XYZxyz(6.2331, 8.3769, 2.0474)
Luminance0.0838 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475816 #271658
analogous
#584816 #475816 #265816
triadic
#475816 #164758 #581647
tetradic
#475816 #165848 #271658 #581626
square
#475816 #165848 #271658 #581626
split-complementary
#475816 #162658 #481658
monochromatic
#141806 #1F270A #475816 #6F8922 #96BA2E

Accessibility & contrast

On white

7.85
#475816 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#475816 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #475816
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##475816#FFFFFF#000000##FFFFFF
##4758161.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D520B
Deuteranopia (green-blind)
#5B521B
Tritanopia (blue-blind)
#4B534B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #475816;
/* rgb */ color: rgb(71, 88, 22);
/* oklch */ color: oklch(43.2% 0.092 122.9);
Tailwind
colors: {
  custom: {
    50: '#7c8758',
    500: '#475816',
    950: '#000000',
  },
}
SCSS
$custom: #475816;
$custom-light: #7c8758;
$custom-dark: #000000;
JSON
{
  "hex": "#475816",
  "rgb": {
    "r": 71,
    "g": 88,
    "b": 22
  },
  "hsl": {
    "h": 75.455,
    "s": 60,
    "l": 21.569
  },
  "oklch": {
    "l": 0.4317,
    "c": 0.09186,
    "h": 122.9
  },
  "luminance": 0.08377
}

Semantic roles & 50–950 ramp

primary
#475816
secondary
#503B8F
accent
#45E36D
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#0A0B03
muted
#7C7C78

Preview Lab

Preview with #475816

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

Preview Lab → · Contrast checker → · Palette generator →

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