#478E2B#478E2B

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

Color values

HEX#478E2B
RGBrgb(71, 142, 43)
HSLhsl(103, 54%, 36%)
HSVhsv(103, 70%, 56%)
CMYKcmyk(50%, 0%, 69.7%, 44.3%)
CIE-LABlab(52.79, -40.86, 44.05)
CIE-LCHlch(52.79, 60.09, 132.85°)
OKLaboklab(57.94% -0.1127 0.1007)
OKLCHoklch(57.94% 0.151 138.2)
XYZxyz(12.7071, 20.8591, 5.6416)
Luminance0.2086 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478E2B #722B8E
analogous
#798E2B #478E2B #2B8E41
triadic
#478E2B #2B478E #8E2B47
tetradic
#478E2B #2B798E #722B8E #8E412B
square
#478E2B #2B798E #722B8E #8E412B
split-complementary
#478E2B #412B8E #8E2B79
monochromatic
#18300F #305F1D #478E2B #5EBD39 #82D063

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##478E2B#FFFFFF#000000##000000
##478E2B1.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)
#92821D
Deuteranopia (green-blind)
#897C34
Tritanopia (blue-blind)
#42897A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #478e2b;
/* rgb */ color: rgb(71, 142, 43);
/* oklch */ color: oklch(57.9% 0.151 138.2);
Tailwind
colors: {
  custom: {
    50: '#81b06a',
    500: '#478e2b',
    950: '#000000',
  },
}
SCSS
$custom: #478e2b;
$custom-light: #81b06a;
$custom-dark: #000000;
JSON
{
  "hex": "#478e2b",
  "rgb": {
    "r": 71,
    "g": 142,
    "b": 43
  },
  "hsl": {
    "h": 103.03,
    "s": 53.514,
    "l": 36.275
  },
  "oklch": {
    "l": 0.5794,
    "c": 0.15117,
    "h": 138.2
  },
  "luminance": 0.2086
}

Semantic roles & 50–950 ramp

primary
#478E2B
secondary
#9D5FB6
accent
#4BDDB4
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #478E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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