#478E2E#478E2E

#478E2E is a mid, vivid green. Relative luminance 0.209; OKLCH L 58.0% C 0.149 H 138.6°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#478E2E
RGBrgb(71, 142, 46)
HSLhsl(104, 51%, 37%)
HSVhsv(104, 68%, 56%)
CMYKcmyk(50%, 0%, 67.6%, 44.3%)
CIE-LABlab(52.82, -40.59, 42.79)
CIE-LCHlch(52.82, 58.98, 133.49°)
OKLaboklab(57.97% -0.1118 0.0984)
OKLCHoklch(57.97% 0.149 138.6)
XYZxyz(12.7642, 20.8819, 5.9423)
Luminance0.2088 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478E2E #752E8E
analogous
#778E2E #478E2E #2E8E45
triadic
#478E2E #2E478E #8E2E47
tetradic
#478E2E #2E778E #752E8E #8E452E
square
#478E2E #2E778E #752E8E #8E452E
split-complementary
#478E2E #452E8E #8E2E77
monochromatic
#193210 #30601F #478E2E #5EBC3D #83CE68

Accessibility & contrast

On white

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

On black

5.18
#478E2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478E2E
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478E2E#FFFFFF#000000##000000
##478E2E1.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#928221
Deuteranopia (green-blind)
#897C36
Tritanopia (blue-blind)
#41897A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #478e2e;
/* rgb */ color: rgb(71, 142, 46);
/* oklch */ color: oklch(58.0% 0.149 138.6);
Tailwind
colors: {
  custom: {
    50: '#81b06c',
    500: '#478e2e',
    950: '#000000',
  },
}
SCSS
$custom: #478e2e;
$custom-light: #81b06c;
$custom-dark: #000000;
JSON
{
  "hex": "#478e2e",
  "rgb": {
    "r": 71,
    "g": 142,
    "b": 46
  },
  "hsl": {
    "h": 104.375,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.57969,
    "c": 0.14896,
    "h": 138.6
  },
  "luminance": 0.20883
}

Semantic roles & 50–950 ramp

primary
#478E2E
secondary
#A063B5
accent
#4DDBB6
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #478E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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