#477D24#477D24

#477D24 is a mid, vivid yellow-green. Relative luminance 0.161; OKLCH L 53.3% C 0.133 H 135.5°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#477D24
RGBrgb(71, 125, 36)
HSLhsl(96, 55%, 32%)
HSVhsv(96, 71%, 49%)
CMYKcmyk(43.2%, 0%, 71.2%, 51%)
CIE-LABlab(47.15, -34.20, 41.07)
CIE-LCHlch(47.15, 53.45, 129.78°)
OKLaboklab(53.29% -0.0952 0.0935)
OKLCHoklch(53.29% 0.133 135.5)
XYZxyz(10.2503, 16.1336, 4.2427)
Luminance0.1613 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477D24 #5A247D
analogous
#747D24 #477D24 #247D2D
triadic
#477D24 #24477D #7D2447
tetradic
#477D24 #24747D #5A247D #7D2D24
square
#477D24 #24747D #5A247D #7D2D24
split-complementary
#477D24 #2D247D #7D2474
monochromatic
#111E09 #2C4D16 #477D24 #62AD32 #80CC4F

Accessibility & contrast

On white

4.97
#477D24 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#477D24 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477D24
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477D24#FFFFFF#000000##FFFFFF
##477D241.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827317
Deuteranopia (green-blind)
#7A6E2C
Tritanopia (blue-blind)
#45786B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #477d24;
/* rgb */ color: rgb(71, 125, 36);
/* oklch */ color: oklch(53.3% 0.133 135.5);
Tailwind
colors: {
  custom: {
    50: '#7fa364',
    500: '#477d24',
    950: '#000000',
  },
}
SCSS
$custom: #477d24;
$custom-light: #7fa364;
$custom-dark: #000000;
JSON
{
  "hex": "#477d24",
  "rgb": {
    "r": 71,
    "g": 125,
    "b": 36
  },
  "hsl": {
    "h": 96.404,
    "s": 55.28,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53291,
    "c": 0.13343,
    "h": 135.5
  },
  "luminance": 0.16134
}

Semantic roles & 50–950 ramp

primary
#477D24
secondary
#894DAF
accent
#49DFA4
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #477D24

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

Preview Lab → · Contrast checker → · Palette generator →

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