#475A16#475A16

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

Color values

HEX#475A16
RGBrgb(71, 90, 22)
HSLhsl(77, 61%, 22%)
HSVhsv(77, 76%, 35%)
CMYKcmyk(21.1%, 0%, 75.6%, 64.7%)
CIE-LABlab(35.42, -18.22, 34.99)
CIE-LCHlch(35.42, 39.46, 117.51°)
OKLaboklab(43.71% -0.0528 0.0786)
OKLCHoklch(43.71% 0.095 123.9)
XYZxyz(6.3996, 8.7098, 2.1029)
Luminance0.0871 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475A16 #29165A
analogous
#5A4B16 #475A16 #255A16
triadic
#475A16 #16475A #5A1647
tetradic
#475A16 #165A4B #29165A #5A1625
square
#475A16 #165A4B #29165A #5A1625
split-complementary
#475A16 #16255A #4B165A
monochromatic
#131906 #20290A #475A16 #6E8B22 #95BC2E

Accessibility & contrast

On white

7.66
#475A16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #475A16
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##475A16#FFFFFF#000000##FFFFFF
##475A161.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F540B
Deuteranopia (green-blind)
#5D531C
Tritanopia (blue-blind)
#4B554D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #475a16;
/* rgb */ color: rgb(71, 90, 22);
/* oklch */ color: oklch(43.7% 0.095 123.9);
Tailwind
colors: {
  custom: {
    50: '#7d8858',
    500: '#475a16',
    950: '#000000',
  },
}
SCSS
$custom: #475a16;
$custom-light: #7d8858;
$custom-dark: #000000;
JSON
{
  "hex": "#475a16",
  "rgb": {
    "r": 71,
    "g": 90,
    "b": 22
  },
  "hsl": {
    "h": 76.765,
    "s": 60.714,
    "l": 21.961
  },
  "oklch": {
    "l": 0.43706,
    "c": 0.09466,
    "h": 123.9
  },
  "luminance": 0.0871
}

Semantic roles & 50–950 ramp

primary
#475A16
secondary
#533B91
accent
#44E471
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#0A0B03
muted
#7C7C78

Preview Lab

Preview with #475A16

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

Preview Lab → · Contrast checker → · Palette generator →

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