#477D26#477D26

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

Color values

HEX#477D26
RGBrgb(71, 125, 38)
HSLhsl(97, 53%, 32%)
HSVhsv(97, 70%, 49%)
CMYKcmyk(43.2%, 0%, 69.6%, 51%)
CIE-LABlab(47.17, -34.03, 40.23)
CIE-LCHlch(47.17, 52.69, 130.22°)
OKLaboklab(53.31% -0.0946 0.092)
OKLCHoklch(53.31% 0.132 135.8)
XYZxyz(10.2817, 16.1462, 4.4081)
Luminance0.1615 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477D26 #5C267D
analogous
#737D26 #477D26 #267D30
triadic
#477D26 #26477D #7D2647
tetradic
#477D26 #26737D #5C267D #7D3026
square
#477D26 #26737D #5C267D #7D3026
split-complementary
#477D26 #30267D #7D2673
monochromatic
#121F09 #2C4E18 #477D26 #62AC34 #80CB53

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##477D26#FFFFFF#000000##FFFFFF
##477D261.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)
#82731A
Deuteranopia (green-blind)
#7A6E2E
Tritanopia (blue-blind)
#45786B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #477d26;
/* rgb */ color: rgb(71, 125, 38);
/* oklch */ color: oklch(53.3% 0.132 135.8);
Tailwind
colors: {
  custom: {
    50: '#7fa365',
    500: '#477d26',
    950: '#000000',
  },
}
SCSS
$custom: #477d26;
$custom-light: #7fa365;
$custom-dark: #000000;
JSON
{
  "hex": "#477d26",
  "rgb": {
    "r": 71,
    "g": 125,
    "b": 38
  },
  "hsl": {
    "h": 97.241,
    "s": 53.374,
    "l": 31.961
  },
  "oklch": {
    "l": 0.5331,
    "c": 0.13194,
    "h": 135.8
  },
  "luminance": 0.16147
}

Semantic roles & 50–950 ramp

primary
#477D26
secondary
#8B50AF
accent
#4BDDA5
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #477D26

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

Preview Lab → · Contrast checker → · Palette generator →

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