#478B2B#478B2B

#478B2B is a mid, vivid green. Relative luminance 0.200; OKLCH L 57.1% C 0.147 H 138.0°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#478B2B
RGBrgb(71, 139, 43)
HSLhsl(103, 53%, 36%)
HSVhsv(103, 69%, 55%)
CMYKcmyk(48.9%, 0%, 69.1%, 45.5%)
CIE-LABlab(51.81, -39.62, 43.01)
CIE-LCHlch(51.81, 58.48, 132.65°)
OKLaboklab(57.13% -0.1094 0.0985)
OKLCHoklch(57.13% 0.147 138)
XYZxyz(12.2668, 19.9784, 5.4949)
Luminance0.1998 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478B2B #6F2B8B
analogous
#778B2B #478B2B #2B8B3F
triadic
#478B2B #2B478B #8B2B47
tetradic
#478B2B #2B778B #6F2B8B #8B3F2B
square
#478B2B #2B778B #6F2B8B #8B3F2B
split-complementary
#478B2B #3F2B8B #8B2B77
monochromatic
#172E0E #2F5C1D #478B2B #5FBA39 #82CE62

Accessibility & contrast

On white

4.20
#478B2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#478B2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478B2B
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478B2B#FFFFFF#000000##000000
##478B2B1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F1E
Deuteranopia (green-blind)
#867934
Tritanopia (blue-blind)
#428677
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #478b2b;
/* rgb */ color: rgb(71, 139, 43);
/* oklch */ color: oklch(57.1% 0.147 138.0);
Tailwind
colors: {
  custom: {
    50: '#80ad6a',
    500: '#478b2b',
    950: '#000000',
  },
}
SCSS
$custom: #478b2b;
$custom-light: #80ad6a;
$custom-dark: #000000;
JSON
{
  "hex": "#478b2b",
  "rgb": {
    "r": 71,
    "g": 139,
    "b": 43
  },
  "hsl": {
    "h": 102.5,
    "s": 52.747,
    "l": 35.686
  },
  "oklch": {
    "l": 0.57133,
    "c": 0.14719,
    "h": 138
  },
  "luminance": 0.19979
}

Semantic roles & 50–950 ramp

primary
#478B2B
secondary
#9B5DB5
accent
#4CDCB2
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #478B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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