#478E2F#478E2F

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

Color values

HEX#478E2F
RGBrgb(71, 142, 47)
HSLhsl(105, 50%, 37%)
HSVhsv(105, 67%, 56%)
CMYKcmyk(50%, 0%, 66.9%, 44.3%)
CIE-LABlab(52.83, -40.49, 42.36)
CIE-LCHlch(52.83, 58.60, 133.71°)
OKLaboklab(57.98% -0.1115 0.0977)
OKLCHoklch(57.98% 0.148 138.8)
XYZxyz(12.7842, 20.8899, 6.0473)
Luminance0.2089 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478E2F #762F8E
analogous
#778E2F #478E2F #2F8E46
triadic
#478E2F #2F478E #8E2F47
tetradic
#478E2F #2F778E #762F8E #8E462F
square
#478E2F #2F778E #762F8E #8E462F
split-complementary
#478E2F #462F8E #8E2F77
monochromatic
#193211 #306020 #478E2F #5EBC3E #83CE6A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##478E2F#FFFFFF#000000##000000
##478E2F1.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)
#928223
Deuteranopia (green-blind)
#897C37
Tritanopia (blue-blind)
#41897A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #478e2f;
/* rgb */ color: rgb(71, 142, 47);
/* oklch */ color: oklch(58.0% 0.148 138.8);
Tailwind
colors: {
  custom: {
    50: '#81b06c',
    500: '#478e2f',
    950: '#000000',
  },
}
SCSS
$custom: #478e2f;
$custom-light: #81b06c;
$custom-dark: #000000;
JSON
{
  "hex": "#478e2f",
  "rgb": {
    "r": 71,
    "g": 142,
    "b": 47
  },
  "hsl": {
    "h": 104.842,
    "s": 50.265,
    "l": 37.059
  },
  "oklch": {
    "l": 0.57979,
    "c": 0.14819,
    "h": 138.8
  },
  "luminance": 0.20891
}

Semantic roles & 50–950 ramp

primary
#478E2F
secondary
#A064B5
accent
#4EDAB6
background
#F8FAF6
surface
#EFF5EC
border
#CACFC7
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #478E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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