#478E2C#478E2C

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

Color values

HEX#478E2C
RGBrgb(71, 142, 44)
HSLhsl(103, 53%, 36%)
HSVhsv(103, 69%, 56%)
CMYKcmyk(50%, 0%, 69%, 44.3%)
CIE-LABlab(52.80, -40.77, 43.64)
CIE-LCHlch(52.80, 59.72, 133.06°)
OKLaboklab(57.95% -0.1124 0.1)
OKLCHoklch(57.95% 0.15 138.4)
XYZxyz(12.7257, 20.8665, 5.7395)
Luminance0.2087 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478E2C #732C8E
analogous
#788E2C #478E2C #2C8E42
triadic
#478E2C #2C478E #8E2C47
tetradic
#478E2C #2C788E #732C8E #8E422C
square
#478E2C #2C788E #732C8E #8E422C
split-complementary
#478E2C #422C8E #8E2C78
monochromatic
#18310F #305F1E #478E2C #5EBD3A #82CF65

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##478E2C#FFFFFF#000000##000000
##478E2C1.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)
#92821E
Deuteranopia (green-blind)
#897C35
Tritanopia (blue-blind)
#42897A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #478e2c;
/* rgb */ color: rgb(71, 142, 44);
/* oklch */ color: oklch(58.0% 0.150 138.4);
Tailwind
colors: {
  custom: {
    50: '#81b06a',
    500: '#478e2c',
    950: '#000000',
  },
}
SCSS
$custom: #478e2c;
$custom-light: #81b06a;
$custom-dark: #000000;
JSON
{
  "hex": "#478e2c",
  "rgb": {
    "r": 71,
    "g": 142,
    "b": 44
  },
  "hsl": {
    "h": 103.469,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.5795,
    "c": 0.15044,
    "h": 138.4
  },
  "luminance": 0.20867
}

Semantic roles & 50–950 ramp

primary
#478E2C
secondary
#9E60B6
accent
#4CDCB4
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #478E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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