#477A1A#477A1A

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

Color values

HEX#477A1A
RGBrgb(71, 122, 26)
HSLhsl(92, 65%, 29%)
HSVhsv(92, 79%, 48%)
CMYKcmyk(41.8%, 0%, 78.7%, 52.2%)
CIE-LABlab(46.09, -33.60, 43.92)
CIE-LCHlch(46.09, 55.30, 127.42°)
OKLaboklab(52.4% -0.0943 0.0979)
OKLCHoklch(52.4% 0.136 133.9)
XYZxyz(9.7443, 15.3327, 3.4232)
Luminance0.1533 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477A1A #4D1A7A
analogous
#777A1A #477A1A #1A7A1D
triadic
#477A1A #1A477A #7A1A47
tetradic
#477A1A #1A777A #4D1A7A #7A1D1A
square
#477A1A #1A777A #4D1A7A #7A1D1A
split-complementary
#477A1A #1D1A7A #7A1A77
monochromatic
#0F1905 #2A480F #477A1A #64AC25 #82D539

Accessibility & contrast

On white

5.16
#477A1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #477A1A
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477A1A#FFFFFF#000000##FFFFFF
##477A1A1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #477a1a;
/* rgb */ color: rgb(71, 122, 26);
/* oklch */ color: oklch(52.4% 0.136 133.9);
Tailwind
colors: {
  custom: {
    50: '#7fa15e',
    500: '#477a1a',
    950: '#000000',
  },
}
SCSS
$custom: #477a1a;
$custom-light: #7fa15e;
$custom-dark: #000000;
JSON
{
  "hex": "#477a1a",
  "rgb": {
    "r": 71,
    "g": 122,
    "b": 26
  },
  "hsl": {
    "h": 91.875,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52398,
    "c": 0.13598,
    "h": 133.9
  },
  "luminance": 0.15333
}

Semantic roles & 50–950 ramp

primary
#477A1A
secondary
#7B41AE
accent
#40E899
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0A0F05
muted
#7C7E79

Preview Lab

Preview with #477A1A

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

Preview Lab → · Contrast checker → · Palette generator →

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