#477724#477724

#477724 is a mid, vivid yellow-green. Relative luminance 0.147; OKLCH L 51.7% C 0.125 H 134.6°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#477724
RGBrgb(71, 119, 36)
HSLhsl(95, 54%, 30%)
HSVhsv(95, 70%, 47%)
CMYKcmyk(40.3%, 0%, 69.7%, 53.3%)
CIE-LABlab(45.17, -31.49, 38.99)
CIE-LCHlch(45.17, 50.12, 128.93°)
OKLaboklab(51.67% -0.0878 0.0891)
OKLCHoklch(51.67% 0.125 134.6)
XYZxyz(9.5136, 14.6602, 3.9971)
Luminance0.1466 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477724 #542477
analogous
#707724 #477724 #24772B
triadic
#477724 #244777 #772447
tetradic
#477724 #247077 #542477 #772B24
square
#477724 #247077 #542477 #772B24
split-complementary
#477724 #2B2477 #772470
monochromatic
#0F1908 #2B4816 #477724 #63A632 #81C94C

Accessibility & contrast

On white

5.34
#477724 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#477724 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477724
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477724#FFFFFF#000000##FFFFFF
##4777241.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D19
Deuteranopia (green-blind)
#75692B
Tritanopia (blue-blind)
#467266
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #477724;
/* rgb */ color: rgb(71, 119, 36);
/* oklch */ color: oklch(51.7% 0.125 134.6);
Tailwind
colors: {
  custom: {
    50: '#7e9e63',
    500: '#477724',
    950: '#000000',
  },
}
SCSS
$custom: #477724;
$custom-light: #7e9e63;
$custom-dark: #000000;
JSON
{
  "hex": "#477724",
  "rgb": {
    "r": 71,
    "g": 119,
    "b": 36
  },
  "hsl": {
    "h": 94.699,
    "s": 53.548,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51668,
    "c": 0.12513,
    "h": 134.6
  },
  "luminance": 0.14661
}

Semantic roles & 50–950 ramp

primary
#477724
secondary
#834DAA
accent
#4BDD9F
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0E05
muted
#7C7E7A

Preview Lab

Preview with #477724

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

Preview Lab → · Contrast checker → · Palette generator →

#477724 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva