#477F24#477F24

#477F24 is a mid, vivid yellow-green. Relative luminance 0.166; OKLCH L 53.8% C 0.136 H 135.8°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#477F24
RGBrgb(71, 127, 36)
HSLhsl(97, 56%, 32%)
HSVhsv(97, 72%, 50%)
CMYKcmyk(44.1%, 0%, 71.7%, 50.2%)
CIE-LABlab(47.81, -35.08, 41.76)
CIE-LCHlch(47.81, 54.54, 130.03°)
OKLaboklab(53.83% -0.0976 0.0949)
OKLCHoklch(53.83% 0.136 135.8)
XYZxyz(10.5061, 16.6451, 4.3280)
Luminance0.1665 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477F24 #5C247F
analogous
#757F24 #477F24 #247F2F
triadic
#477F24 #24477F #7F2447
tetradic
#477F24 #24757F #5C247F #7F2F24
square
#477F24 #24757F #5C247F #7F2F24
split-complementary
#477F24 #2F247F #7F2475
monochromatic
#122009 #2C4F16 #477F24 #62AF32 #80CD50

Accessibility & contrast

On white

4.85
#477F24 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#477F24 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477F24
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477F24#FFFFFF#000000##FFFFFF
##477F241.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847416
Deuteranopia (green-blind)
#7C702C
Tritanopia (blue-blind)
#457A6D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #477f24;
/* rgb */ color: rgb(71, 127, 36);
/* oklch */ color: oklch(53.8% 0.136 135.8);
Tailwind
colors: {
  custom: {
    50: '#7fa464',
    500: '#477f24',
    950: '#000000',
  },
}
SCSS
$custom: #477f24;
$custom-light: #7fa464;
$custom-dark: #000000;
JSON
{
  "hex": "#477f24",
  "rgb": {
    "r": 71,
    "g": 127,
    "b": 36
  },
  "hsl": {
    "h": 96.923,
    "s": 55.828,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53832,
    "c": 0.13615,
    "h": 135.8
  },
  "luminance": 0.16646
}

Semantic roles & 50–950 ramp

primary
#477F24
secondary
#8B4EB1
accent
#49DFA5
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #477F24

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

Preview Lab → · Contrast checker → · Palette generator →

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