#478E2A#478E2A

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

Color values

HEX#478E2A
RGBrgb(71, 142, 42)
HSLhsl(103, 54%, 36%)
HSVhsv(103, 70%, 56%)
CMYKcmyk(50%, 0%, 70.4%, 44.3%)
CIE-LABlab(52.79, -40.95, 44.46)
CIE-LCHlch(52.79, 60.45, 132.65°)
OKLaboklab(57.93% -0.1131 0.1014)
OKLCHoklch(57.93% 0.152 138.1)
XYZxyz(12.6890, 20.8519, 5.5462)
Luminance0.2085 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478E2A #712A8E
analogous
#798E2A #478E2A #2A8E3F
triadic
#478E2A #2A478E #8E2A47
tetradic
#478E2A #2A798E #712A8E #8E3F2A
square
#478E2A #2A798E #712A8E #8E3F2A
split-complementary
#478E2A #3F2A8E #8E2A79
monochromatic
#18300E #2F5F1C #478E2A #5FBD38 #82D162

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##478E2A#FFFFFF#000000##000000
##478E2A1.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)
#92821B
Deuteranopia (green-blind)
#897C33
Tritanopia (blue-blind)
#42897A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #478e2a;
/* rgb */ color: rgb(71, 142, 42);
/* oklch */ color: oklch(57.9% 0.152 138.1);
Tailwind
colors: {
  custom: {
    50: '#81b069',
    500: '#478e2a',
    950: '#000000',
  },
}
SCSS
$custom: #478e2a;
$custom-light: #81b069;
$custom-dark: #000000;
JSON
{
  "hex": "#478e2a",
  "rgb": {
    "r": 71,
    "g": 142,
    "b": 42
  },
  "hsl": {
    "h": 102.6,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.57931,
    "c": 0.15188,
    "h": 138.1
  },
  "luminance": 0.20853
}

Semantic roles & 50–950 ramp

primary
#478E2A
secondary
#9D5DB6
accent
#4ADEB3
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #478E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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