#477A1D#477A1D

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

Color values

HEX#477A1D
RGBrgb(71, 122, 29)
HSLhsl(93, 62%, 30%)
HSVhsv(93, 76%, 48%)
CMYKcmyk(41.8%, 0%, 76.2%, 52.2%)
CIE-LABlab(46.11, -33.40, 42.83)
CIE-LCHlch(46.11, 54.32, 127.95°)
OKLaboklab(52.42% -0.0936 0.0961)
OKLCHoklch(52.42% 0.134 134.2)
XYZxyz(9.7797, 15.3469, 3.6091)
Luminance0.1535 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477A1D #501D7A
analogous
#767A1D #477A1D #1D7A22
triadic
#477A1D #1D477A #7A1D47
tetradic
#477A1D #1D767A #501D7A #7A221D
square
#477A1D #1D767A #501D7A #7A221D
split-complementary
#477A1D #221D7A #7A1D76
monochromatic
#0E1906 #2A4911 #477A1D #64AB29 #82D240

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##477A1D#FFFFFF#000000##FFFFFF
##477A1D1.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)
#7F700B
Deuteranopia (green-blind)
#786C26
Tritanopia (blue-blind)
#467568
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #477a1d;
/* rgb */ color: rgb(71, 122, 29);
/* oklch */ color: oklch(52.4% 0.134 134.2);
Tailwind
colors: {
  custom: {
    50: '#7fa160',
    500: '#477a1d',
    950: '#000000',
  },
}
SCSS
$custom: #477a1d;
$custom-light: #7fa160;
$custom-dark: #000000;
JSON
{
  "hex": "#477a1d",
  "rgb": {
    "r": 71,
    "g": 122,
    "b": 29
  },
  "hsl": {
    "h": 92.903,
    "s": 61.589,
    "l": 29.608
  },
  "oklch": {
    "l": 0.5242,
    "c": 0.13415,
    "h": 134.2
  },
  "luminance": 0.15347
}

Semantic roles & 50–950 ramp

primary
#477A1D
secondary
#7E45AE
accent
#43E59C
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0A0F05
muted
#7C7E79

Preview Lab

Preview with #477A1D

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

Preview Lab → · Contrast checker → · Palette generator →

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