#475215#475215

#475215 is a dark, moderate yellow-green. Relative luminance 0.074; OKLCH L 41.6% C 0.084 H 119.1°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#475215
RGBrgb(71, 82, 21)
HSLhsl(71, 59%, 20%)
HSVhsv(71, 74%, 32%)
CMYKcmyk(13.4%, 0%, 74.4%, 67.8%)
CIE-LABlab(32.76, -13.89, 32.75)
CIE-LCHlch(32.76, 35.57, 112.98°)
OKLaboklab(41.56% -0.041 0.0737)
OKLCHoklch(41.56% 0.084 119.1)
XYZxyz(5.7513, 7.4284, 1.8402)
Luminance0.0743 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475215 #201552
analogous
#523F15 #475215 #285215
triadic
#475215 #154752 #521547
tetradic
#475215 #15523F #201552 #521528
square
#475215 #15523F #201552 #521528
split-complementary
#475215 #152852 #3F1552
monochromatic
#151806 #1D2109 #475215 #718321 #9BB32E

Accessibility & contrast

On white

8.45
#475215 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#475215 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #475215
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##475215#FFFFFF#000000##FFFFFF
##4752151.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D0C
Deuteranopia (green-blind)
#564D1A
Tritanopia (blue-blind)
#4B4D46
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #475215;
/* rgb */ color: rgb(71, 82, 21);
/* oklch */ color: oklch(41.6% 0.084 119.1);
Tailwind
colors: {
  custom: {
    50: '#7c8257',
    500: '#475215',
    950: '#000000',
  },
}
SCSS
$custom: #475215;
$custom-light: #7c8257;
$custom-dark: #000000;
JSON
{
  "hex": "#475215",
  "rgb": {
    "r": 71,
    "g": 82,
    "b": 21
  },
  "hsl": {
    "h": 70.82,
    "s": 59.223,
    "l": 20.196
  },
  "oklch": {
    "l": 0.41561,
    "c": 0.08428,
    "h": 119.1
  },
  "luminance": 0.07428
}

Semantic roles & 50–950 ramp

primary
#475215
secondary
#48398A
accent
#45E262
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #475215

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

Preview Lab → · Contrast checker → · Palette generator →

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