#475B11#475B11

#475B11 is a dark, moderate yellow-green. Relative luminance 0.089; OKLCH L 43.9% C 0.099 H 124.0°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#475B11
RGBrgb(71, 91, 17)
HSLhsl(76, 69%, 21%)
HSVhsv(76, 81%, 36%)
CMYKcmyk(22%, 0%, 81.3%, 64.3%)
CIE-LABlab(35.72, -19.07, 37.28)
CIE-LCHlch(35.72, 41.88, 117.10°)
OKLaboklab(43.94% -0.0556 0.0824)
OKLCHoklch(43.94% 0.099 124)
XYZxyz(6.4409, 8.8622, 1.9015)
Luminance0.0886 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475B11 #25115B
analogous
#5B4A11 #475B11 #225B11
triadic
#475B11 #11475B #5B1147
tetradic
#475B11 #115B4A #25115B #5B1122
square
#475B11 #115B4A #25115B #5B1122
split-complementary
#475B11 #11225B #4A115B
monochromatic
#141A05 #1F2707 #475B11 #6F8F1B #97C224

Accessibility & contrast

On white

7.57
#475B11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#475B11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #475B11
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##475B11#FFFFFF#000000##FFFFFF
##475B111.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615502
Deuteranopia (green-blind)
#5E5418
Tritanopia (blue-blind)
#4B564D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #475b11;
/* rgb */ color: rgb(71, 91, 17);
/* oklch */ color: oklch(43.9% 0.099 124.0);
Tailwind
colors: {
  custom: {
    50: '#7d8956',
    500: '#475b11',
    950: '#000000',
  },
}
SCSS
$custom: #475b11;
$custom-light: #7d8956;
$custom-dark: #000000;
JSON
{
  "hex": "#475b11",
  "rgb": {
    "r": 71,
    "g": 91,
    "b": 17
  },
  "hsl": {
    "h": 76.216,
    "s": 68.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.43936,
    "c": 0.09945,
    "h": 124
  },
  "luminance": 0.08862
}

Semantic roles & 50–950 ramp

primary
#475B11
secondary
#4E3494
accent
#3CEB6C
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0B03
muted
#7C7C78

Preview Lab

Preview with #475B11

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

Preview Lab → · Contrast checker → · Palette generator →

#475B11 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva