#475A11#475A11

#475A11 is a dark, moderate yellow-green. Relative luminance 0.087; OKLCH L 43.7% C 0.098 H 123.5°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#475A11
RGBrgb(71, 90, 17)
HSLhsl(76, 68%, 21%)
HSVhsv(76, 81%, 35%)
CMYKcmyk(21.1%, 0%, 81.1%, 64.7%)
CIE-LABlab(35.38, -18.54, 36.97)
CIE-LCHlch(35.38, 41.35, 116.63°)
OKLaboklab(43.67% -0.0542 0.0818)
OKLCHoklch(43.67% 0.098 123.5)
XYZxyz(6.3560, 8.6923, 1.8731)
Luminance0.0869 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475A11 #24115A
analogous
#5A4811 #475A11 #225A11
triadic
#475A11 #11475A #5A1147
tetradic
#475A11 #115A48 #24115A #5A1122
square
#475A11 #115A48 #24115A #5A1122
split-complementary
#475A11 #11225A #48115A
monochromatic
#141A05 #1E2707 #475A11 #708D1B #98C124

Accessibility & contrast

On white

7.67
#475A11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#475A11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #475A11
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##475A11#FFFFFF#000000##FFFFFF
##475A111.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605402
Deuteranopia (green-blind)
#5D5318
Tritanopia (blue-blind)
#4B554C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #475a11;
/* rgb */ color: rgb(71, 90, 17);
/* oklch */ color: oklch(43.7% 0.098 123.5);
Tailwind
colors: {
  custom: {
    50: '#7d8856',
    500: '#475a11',
    950: '#000000',
  },
}
SCSS
$custom: #475a11;
$custom-light: #7d8856;
$custom-dark: #000000;
JSON
{
  "hex": "#475a11",
  "rgb": {
    "r": 71,
    "g": 90,
    "b": 17
  },
  "hsl": {
    "h": 75.616,
    "s": 68.224,
    "l": 20.98
  },
  "oklch": {
    "l": 0.43667,
    "c": 0.09809,
    "h": 123.5
  },
  "luminance": 0.08692
}

Semantic roles & 50–950 ramp

primary
#475A11
secondary
#4D3493
accent
#3DEB6A
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#0A0B03
muted
#7C7C78

Preview Lab

Preview with #475A11

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

Preview Lab → · Contrast checker → · Palette generator →

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