#477C24#477C24

#477C24 is a mid, vivid yellow-green. Relative luminance 0.159; OKLCH L 53.0% C 0.132 H 135.4°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#477C24
RGBrgb(71, 124, 36)
HSLhsl(96, 55%, 31%)
HSVhsv(96, 71%, 49%)
CMYKcmyk(42.7%, 0%, 71%, 51.4%)
CIE-LABlab(46.82, -33.75, 40.73)
CIE-LCHlch(46.82, 52.90, 129.65°)
OKLaboklab(53.02% -0.094 0.0928)
OKLCHoklch(53.02% 0.132 135.4)
XYZxyz(10.1244, 15.8817, 4.2007)
Luminance0.1588 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477C24 #59247C
analogous
#737C24 #477C24 #247C2D
triadic
#477C24 #24477C #7C2447
tetradic
#477C24 #24737C #59247C #7C2D24
square
#477C24 #24737C #59247C #7C2D24
split-complementary
#477C24 #2D247C #7C2473
monochromatic
#111D08 #2C4D16 #477C24 #62AB32 #80CC4F

Accessibility & contrast

On white

5.03
#477C24 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#477C24 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477C24
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477C24#FFFFFF#000000##FFFFFF
##477C241.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817217
Deuteranopia (green-blind)
#796D2C
Tritanopia (blue-blind)
#46776A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #477c24;
/* rgb */ color: rgb(71, 124, 36);
/* oklch */ color: oklch(53.0% 0.132 135.4);
Tailwind
colors: {
  custom: {
    50: '#7fa264',
    500: '#477c24',
    950: '#000000',
  },
}
SCSS
$custom: #477c24;
$custom-light: #7fa264;
$custom-dark: #000000;
JSON
{
  "hex": "#477c24",
  "rgb": {
    "r": 71,
    "g": 124,
    "b": 36
  },
  "hsl": {
    "h": 96.136,
    "s": 55,
    "l": 31.373
  },
  "oklch": {
    "l": 0.5302,
    "c": 0.13206,
    "h": 135.4
  },
  "luminance": 0.15882
}

Semantic roles & 50–950 ramp

primary
#477C24
secondary
#884DAE
accent
#49DEA3
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #477C24

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

Preview Lab → · Contrast checker → · Palette generator →

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