#477A24#477A24

#477A24 is a mid, vivid yellow-green. Relative luminance 0.154; OKLCH L 52.5% C 0.129 H 135.1°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#477A24
RGBrgb(71, 122, 36)
HSLhsl(96, 54%, 31%)
HSVhsv(96, 70%, 48%)
CMYKcmyk(41.8%, 0%, 70.5%, 52.2%)
CIE-LABlab(46.16, -32.86, 40.04)
CIE-LCHlch(46.16, 51.79, 129.38°)
OKLaboklab(52.48% -0.0916 0.0913)
OKLCHoklch(52.48% 0.129 135.1)
XYZxyz(9.8763, 15.3855, 4.1180)
Luminance0.1539 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477A24 #57247A
analogous
#727A24 #477A24 #247A2C
triadic
#477A24 #24477A #7A2447
tetradic
#477A24 #24727A #57247A #7A2C24
square
#477A24 #24727A #57247A #7A2C24
split-complementary
#477A24 #2C247A #7A2472
monochromatic
#101B08 #2B4B16 #477A24 #63A932 #81CB4E

Accessibility & contrast

On white

5.15
#477A24 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#477A24 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477A24
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477A24#FFFFFF#000000##FFFFFF
##477A241.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7018
Deuteranopia (green-blind)
#786C2C
Tritanopia (blue-blind)
#467569
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #477a24;
/* rgb */ color: rgb(71, 122, 36);
/* oklch */ color: oklch(52.5% 0.129 135.1);
Tailwind
colors: {
  custom: {
    50: '#7fa164',
    500: '#477a24',
    950: '#000000',
  },
}
SCSS
$custom: #477a24;
$custom-light: #7fa164;
$custom-dark: #000000;
JSON
{
  "hex": "#477a24",
  "rgb": {
    "r": 71,
    "g": 122,
    "b": 36
  },
  "hsl": {
    "h": 95.581,
    "s": 54.43,
    "l": 30.98
  },
  "oklch": {
    "l": 0.52479,
    "c": 0.1293,
    "h": 135.1
  },
  "luminance": 0.15386
}

Semantic roles & 50–950 ramp

primary
#477A24
secondary
#864DAC
accent
#4ADEA2
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0A0F06
muted
#7C7E7A

Preview Lab

Preview with #477A24

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

Preview Lab → · Contrast checker → · Palette generator →

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