#477A19#477A19

#477A19 is a mid, vivid yellow-green. Relative luminance 0.153; OKLCH L 52.4% C 0.137 H 133.8°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#477A19
RGBrgb(71, 122, 25)
HSLhsl(92, 66%, 29%)
HSVhsv(92, 80%, 48%)
CMYKcmyk(41.8%, 0%, 79.5%, 52.2%)
CIE-LABlab(46.08, -33.66, 44.27)
CIE-LCHlch(46.08, 55.62, 127.25°)
OKLaboklab(52.39% -0.0946 0.0985)
OKLCHoklch(52.39% 0.137 133.8)
XYZxyz(9.7334, 15.3284, 3.3653)
Luminance0.1533 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477A19 #4C197A
analogous
#787A19 #477A19 #197A1C
triadic
#477A19 #19477A #7A1947
tetradic
#477A19 #19787A #4C197A #7A1C19
square
#477A19 #19787A #4C197A #7A1C19
split-complementary
#477A19 #1C197A #7A1978
monochromatic
#0F1905 #29470F #477A19 #65AD23 #83D637

Accessibility & contrast

On white

5.17
#477A19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#477A19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477A19
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477A19#FFFFFF#000000##FFFFFF
##477A191.005.174.075.17
#FFFFFF5.171.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7002
Deuteranopia (green-blind)
#786C23
Tritanopia (blue-blind)
#477568
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #477a19;
/* rgb */ color: rgb(71, 122, 25);
/* oklch */ color: oklch(52.4% 0.137 133.8);
Tailwind
colors: {
  custom: {
    50: '#7fa15e',
    500: '#477a19',
    950: '#000000',
  },
}
SCSS
$custom: #477a19;
$custom-light: #7fa15e;
$custom-dark: #000000;
JSON
{
  "hex": "#477a19",
  "rgb": {
    "r": 71,
    "g": 122,
    "b": 25
  },
  "hsl": {
    "h": 91.546,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52392,
    "c": 0.13656,
    "h": 133.8
  },
  "luminance": 0.15329
}

Semantic roles & 50–950 ramp

primary
#477A19
secondary
#7A40AF
accent
#3FE998
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0A0F05
muted
#7C7E79

Preview Lab

Preview with #477A19

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

Preview Lab → · Contrast checker → · Palette generator →

#477A19 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva