#477A1E#477A1E

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

Color values

HEX#477A1E
RGBrgb(71, 122, 30)
HSLhsl(93, 61%, 30%)
HSVhsv(93, 75%, 48%)
CMYKcmyk(41.8%, 0%, 75.4%, 52.2%)
CIE-LABlab(46.11, -33.33, 42.45)
CIE-LCHlch(46.11, 53.97, 128.13°)
OKLaboklab(52.43% -0.0933 0.0955)
OKLCHoklch(52.43% 0.134 134.3)
XYZxyz(9.7922, 15.3519, 3.6753)
Luminance0.1535 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477A1E #511E7A
analogous
#757A1E #477A1E #1E7A23
triadic
#477A1E #1E477A #7A1E47
tetradic
#477A1E #1E757A #511E7A #7A231E
square
#477A1E #1E757A #511E7A #7A231E
split-complementary
#477A1E #231E7A #7A1E75
monochromatic
#0E1906 #2A4912 #477A1E #64AB2A #81D042

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##477A1E#FFFFFF#000000##FFFFFF
##477A1E1.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)
#7F700D
Deuteranopia (green-blind)
#786C27
Tritanopia (blue-blind)
#467568
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #477a1e;
/* rgb */ color: rgb(71, 122, 30);
/* oklch */ color: oklch(52.4% 0.134 134.3);
Tailwind
colors: {
  custom: {
    50: '#7fa160',
    500: '#477a1e',
    950: '#000000',
  },
}
SCSS
$custom: #477a1e;
$custom-light: #7fa160;
$custom-dark: #000000;
JSON
{
  "hex": "#477a1e",
  "rgb": {
    "r": 71,
    "g": 122,
    "b": 30
  },
  "hsl": {
    "h": 93.261,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52428,
    "c": 0.13351,
    "h": 134.3
  },
  "luminance": 0.15352
}

Semantic roles & 50–950 ramp

primary
#477A1E
secondary
#8046AE
accent
#44E49D
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0A0F05
muted
#7C7E79

Preview Lab

Preview with #477A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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