#475F11#475F11

#475F11 is a mid, moderate yellow-green. Relative luminance 0.096; OKLCH L 45.0% C 0.105 H 125.8°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#475F11
RGBrgb(71, 95, 17)
HSLhsl(78, 70%, 22%)
HSVhsv(78, 82%, 37%)
CMYKcmyk(25.3%, 0%, 82.1%, 62.7%)
CIE-LABlab(37.05, -21.17, 38.53)
CIE-LCHlch(37.05, 43.97, 118.79°)
OKLaboklab(45.02% -0.0614 0.0851)
OKLCHoklch(45.02% 0.105 125.8)
XYZxyz(6.7920, 9.5644, 2.0185)
Luminance0.0956 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475F11 #29115F
analogous
#5F5011 #475F11 #205F11
triadic
#475F11 #11475F #5F1147
tetradic
#475F11 #115F50 #29115F #5F1120
square
#475F11 #115F50 #29115F #5F1120
split-complementary
#475F11 #11205F #50115F
monochromatic
#131A05 #202B08 #475F11 #6E931A #95C724

Accessibility & contrast

On white

7.21
#475F11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#475F11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #475F11
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##475F11#FFFFFF#000000##FFFFFF
##475F111.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655800
Deuteranopia (green-blind)
#615719
Tritanopia (blue-blind)
#4A5A50
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #475f11;
/* rgb */ color: rgb(71, 95, 17);
/* oklch */ color: oklch(45.0% 0.105 125.8);
Tailwind
colors: {
  custom: {
    50: '#7d8c56',
    500: '#475f11',
    950: '#000000',
  },
}
SCSS
$custom: #475f11;
$custom-light: #7d8c56;
$custom-dark: #000000;
JSON
{
  "hex": "#475f11",
  "rgb": {
    "r": 71,
    "g": 95,
    "b": 17
  },
  "hsl": {
    "h": 78.462,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.45015,
    "c": 0.1049,
    "h": 125.8
  },
  "luminance": 0.09564
}

Semantic roles & 50–950 ramp

primary
#475F11
secondary
#533498
accent
#3BEC72
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C03
muted
#7C7D78

Preview Lab

Preview with #475F11

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

Preview Lab → · Contrast checker → · Palette generator →

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