#478E28#478E28

#478E28 is a mid, vivid green. Relative luminance 0.208; OKLCH L 57.9% C 0.153 H 137.9°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#478E28
RGBrgb(71, 142, 40)
HSLhsl(102, 56%, 36%)
HSVhsv(102, 72%, 56%)
CMYKcmyk(50%, 0%, 71.8%, 44.3%)
CIE-LABlab(52.77, -41.12, 45.26)
CIE-LCHlch(52.77, 61.15, 132.25°)
OKLaboklab(57.91% -0.1136 0.1028)
OKLCHoklch(57.91% 0.153 137.9)
XYZxyz(12.6541, 20.8379, 5.3624)
Luminance0.2084 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478E28 #6F288E
analogous
#7A8E28 #478E28 #288E3C
triadic
#478E28 #28478E #8E2847
tetradic
#478E28 #287A8E #6F288E #8E3C28
square
#478E28 #287A8E #6F288E #8E3C28
split-complementary
#478E28 #3C288E #8E287A
monochromatic
#172F0D #2F5E1B #478E28 #5FBE35 #82D25F

Accessibility & contrast

On white

4.06
#478E28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#478E28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478E28
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478E28#FFFFFF#000000##000000
##478E281.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#938218
Deuteranopia (green-blind)
#897C32
Tritanopia (blue-blind)
#42897A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #478e28;
/* rgb */ color: rgb(71, 142, 40);
/* oklch */ color: oklch(57.9% 0.153 137.9);
Tailwind
colors: {
  custom: {
    50: '#81b068',
    500: '#478e28',
    950: '#000000',
  },
}
SCSS
$custom: #478e28;
$custom-light: #81b068;
$custom-dark: #000000;
JSON
{
  "hex": "#478e28",
  "rgb": {
    "r": 71,
    "g": 142,
    "b": 40
  },
  "hsl": {
    "h": 101.765,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.57914,
    "c": 0.15327,
    "h": 137.9
  },
  "luminance": 0.20839
}

Semantic roles & 50–950 ramp

primary
#478E28
secondary
#9B5BB7
accent
#48DFB1
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #478E28

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

Preview Lab → · Contrast checker → · Palette generator →

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