#475915#475915

#475915 is a dark, moderate yellow-green. Relative luminance 0.085; OKLCH L 43.4% C 0.094 H 123.3°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#475915
RGBrgb(71, 89, 21)
HSLhsl(76, 62%, 22%)
HSVhsv(76, 76%, 35%)
CMYKcmyk(20.2%, 0%, 76.4%, 65.1%)
CIE-LABlab(35.08, -17.76, 35.08)
CIE-LCHlch(35.08, 39.32, 116.85°)
OKLaboklab(43.43% -0.0516 0.0786)
OKLCHoklch(43.43% 0.094 123.3)
XYZxyz(6.3063, 8.5385, 2.0252)
Luminance0.0854 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475915 #271559
analogous
#594915 #475915 #255915
triadic
#475915 #154759 #591547
tetradic
#475915 #155949 #271559 #591525
square
#475915 #155949 #271559 #591525
split-complementary
#475915 #152559 #491559
monochromatic
#141906 #1F2709 #475915 #6F8B21 #96BC2C

Accessibility & contrast

On white

7.76
#475915 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#475915 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #475915
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##475915#FFFFFF#000000##FFFFFF
##4759151.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5309
Deuteranopia (green-blind)
#5C521B
Tritanopia (blue-blind)
#4B544C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #475915;
/* rgb */ color: rgb(71, 89, 21);
/* oklch */ color: oklch(43.4% 0.094 123.3);
Tailwind
colors: {
  custom: {
    50: '#7d8857',
    500: '#475915',
    950: '#000000',
  },
}
SCSS
$custom: #475915;
$custom-light: #7d8857;
$custom-dark: #000000;
JSON
{
  "hex": "#475915",
  "rgb": {
    "r": 71,
    "g": 89,
    "b": 21
  },
  "hsl": {
    "h": 75.882,
    "s": 61.818,
    "l": 21.569
  },
  "oklch": {
    "l": 0.43429,
    "c": 0.094,
    "h": 123.3
  },
  "luminance": 0.08538
}

Semantic roles & 50–950 ramp

primary
#475915
secondary
#503991
accent
#43E56E
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#0A0B03
muted
#7C7C78

Preview Lab

Preview with #475915

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

Preview Lab → · Contrast checker → · Palette generator →

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