#478E27#478E27

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

Color values

HEX#478E27
RGBrgb(71, 142, 39)
HSLhsl(101, 57%, 35%)
HSVhsv(101, 73%, 56%)
CMYKcmyk(50%, 0%, 72.5%, 44.3%)
CIE-LABlab(52.76, -41.20, 45.65)
CIE-LCHlch(52.76, 61.50, 132.06°)
OKLaboklab(57.9% -0.1139 0.1035)
OKLCHoklch(57.9% 0.154 137.7)
XYZxyz(12.6373, 20.8312, 5.2740)
Luminance0.2083 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478E27 #6E278E
analogous
#7A8E27 #478E27 #278E3A
triadic
#478E27 #27478E #8E2747
tetradic
#478E27 #277A8E #6E278E #8E3A27
square
#478E27 #277A8E #6E278E #8E3A27
split-complementary
#478E27 #3A278E #8E277A
monochromatic
#172E0D #2F5E1A #478E27 #5FBE34 #81D25D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##478E27#FFFFFF#000000##000000
##478E271.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)
#938216
Deuteranopia (green-blind)
#897C31
Tritanopia (blue-blind)
#42897A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #478e27;
/* rgb */ color: rgb(71, 142, 39);
/* oklch */ color: oklch(57.9% 0.154 137.7);
Tailwind
colors: {
  custom: {
    50: '#81b068',
    500: '#478e27',
    950: '#000000',
  },
}
SCSS
$custom: #478e27;
$custom-light: #81b068;
$custom-dark: #000000;
JSON
{
  "hex": "#478e27",
  "rgb": {
    "r": 71,
    "g": 142,
    "b": 39
  },
  "hsl": {
    "h": 101.359,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.57905,
    "c": 0.15394,
    "h": 137.7
  },
  "luminance": 0.20832
}

Semantic roles & 50–950 ramp

primary
#478E27
secondary
#9A59B8
accent
#48E0B1
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #478E27

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

Preview Lab → · Contrast checker → · Palette generator →

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