#478A29#478A29

#478A29 is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.8% C 0.147 H 137.6°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#478A29
RGBrgb(71, 138, 41)
HSLhsl(101, 54%, 35%)
HSVhsv(101, 70%, 54%)
CMYKcmyk(48.6%, 0%, 70.3%, 45.9%)
CIE-LABlab(51.47, -39.38, 43.49)
CIE-LCHlch(51.47, 58.67, 132.16°)
OKLaboklab(56.85% -0.1089 0.0993)
OKLCHoklch(56.85% 0.147 137.6)
XYZxyz(12.0869, 19.6758, 5.2583)
Luminance0.1968 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478A29 #6C298A
analogous
#788A29 #478A29 #298A3B
triadic
#478A29 #29478A #8A2947
tetradic
#478A29 #29788A #6C298A #8A3B29
square
#478A29 #29788A #6C298A #8A3B29
split-complementary
#478A29 #3B298A #8A2978
monochromatic
#162C0D #2F5B1B #478A29 #5FB937 #81CF5E

Accessibility & contrast

On white

4.25
#478A29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#478A29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478A29
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478A29#FFFFFF#000000##000000
##478A291.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E1B
Deuteranopia (green-blind)
#867932
Tritanopia (blue-blind)
#438576
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #478a29;
/* rgb */ color: rgb(71, 138, 41);
/* oklch */ color: oklch(56.8% 0.147 137.6);
Tailwind
colors: {
  custom: {
    50: '#80ad68',
    500: '#478a29',
    950: '#000000',
  },
}
SCSS
$custom: #478a29;
$custom-light: #80ad68;
$custom-dark: #000000;
JSON
{
  "hex": "#478a29",
  "rgb": {
    "r": 71,
    "g": 138,
    "b": 41
  },
  "hsl": {
    "h": 101.443,
    "s": 54.19,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56846,
    "c": 0.14731,
    "h": 137.6
  },
  "luminance": 0.19677
}

Semantic roles & 50–950 ramp

primary
#478A29
secondary
#995AB5
accent
#4ADEB0
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #478A29

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

Preview Lab → · Contrast checker → · Palette generator →

#478A29 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva