#475515#475515

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

Color values

HEX#475515
RGBrgb(71, 85, 21)
HSLhsl(73, 60%, 21%)
HSVhsv(73, 75%, 33%)
CMYKcmyk(16.5%, 0%, 75.3%, 66.7%)
CIE-LABlab(33.75, -15.57, 33.75)
CIE-LCHlch(33.75, 37.17, 114.76°)
OKLaboklab(42.36% -0.0456 0.0758)
OKLCHoklch(42.36% 0.088 121)
XYZxyz(5.9825, 7.8907, 1.9172)
Luminance0.0789 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475515 #231555
analogous
#554315 #475515 #275515
triadic
#475515 #154755 #551547
tetradic
#475515 #155543 #231555 #551527
square
#475515 #155543 #231555 #551527
split-complementary
#475515 #152755 #431555
monochromatic
#141906 #1E2409 #475515 #708621 #99B72D

Accessibility & contrast

On white

8.15
#475515 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #475515
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##475515#FFFFFF#000000##FFFFFF
##4755151.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #475515;
/* rgb */ color: rgb(71, 85, 21);
/* oklch */ color: oklch(42.4% 0.088 121.0);
Tailwind
colors: {
  custom: {
    50: '#7c8457',
    500: '#475515',
    950: '#000000',
  },
}
SCSS
$custom: #475515;
$custom-light: #7c8457;
$custom-dark: #000000;
JSON
{
  "hex": "#475515",
  "rgb": {
    "r": 71,
    "g": 85,
    "b": 21
  },
  "hsl": {
    "h": 73.125,
    "s": 60.377,
    "l": 20.784
  },
  "oklch": {
    "l": 0.42359,
    "c": 0.08843,
    "h": 121
  },
  "luminance": 0.07891
}

Semantic roles & 50–950 ramp

primary
#475515
secondary
#4B398D
accent
#44E467
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#0A0B03
muted
#7C7C78

Preview Lab

Preview with #475515

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

Preview Lab → · Contrast checker → · Palette generator →

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