#475A14#475A14

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

Color values

HEX#475A14
RGBrgb(71, 90, 20)
HSLhsl(76, 64%, 22%)
HSVhsv(76, 78%, 35%)
CMYKcmyk(21.1%, 0%, 77.8%, 64.7%)
CIE-LABlab(35.40, -18.36, 35.81)
CIE-LCHlch(35.40, 40.24, 117.14°)
OKLaboklab(43.69% -0.0534 0.0799)
OKLCHoklch(43.69% 0.096 123.8)
XYZxyz(6.3810, 8.7024, 2.0052)
Luminance0.0870 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475A14 #27145A
analogous
#5A4A14 #475A14 #245A14
triadic
#475A14 #14475A #5A1447
tetradic
#475A14 #145A4A #27145A #5A1424
square
#475A14 #145A4A #27145A #5A1424
split-complementary
#475A14 #14245A #4A145A
monochromatic
#141906 #1F2809 #475A14 #6F8C1F #96BE2A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##475A14#FFFFFF#000000##FFFFFF
##475A141.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)
#605407
Deuteranopia (green-blind)
#5D531A
Tritanopia (blue-blind)
#4B554C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #475a14;
/* rgb */ color: rgb(71, 90, 20);
/* oklch */ color: oklch(43.7% 0.096 123.8);
Tailwind
colors: {
  custom: {
    50: '#7d8857',
    500: '#475a14',
    950: '#000000',
  },
}
SCSS
$custom: #475a14;
$custom-light: #7d8857;
$custom-dark: #000000;
JSON
{
  "hex": "#475a14",
  "rgb": {
    "r": 71,
    "g": 90,
    "b": 20
  },
  "hsl": {
    "h": 76.286,
    "s": 63.636,
    "l": 21.569
  },
  "oklch": {
    "l": 0.43689,
    "c": 0.09611,
    "h": 123.8
  },
  "luminance": 0.08702
}

Semantic roles & 50–950 ramp

primary
#475A14
secondary
#503892
accent
#41E76E
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#0A0B03
muted
#7C7C78

Preview Lab

Preview with #475A14

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

Preview Lab → · Contrast checker → · Palette generator →

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