#478B28#478B28

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

Color values

HEX#478B28
RGBrgb(71, 139, 40)
HSLhsl(101, 55%, 35%)
HSVhsv(101, 71%, 55%)
CMYKcmyk(48.9%, 0%, 71.2%, 45.5%)
CIE-LABlab(51.79, -39.88, 44.24)
CIE-LCHlch(51.79, 59.56, 132.03°)
OKLaboklab(57.11% -0.1103 0.1007)
OKLCHoklch(57.11% 0.149 137.6)
XYZxyz(12.2138, 19.9572, 5.2156)
Luminance0.1996 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478B28 #6C288B
analogous
#788B28 #478B28 #288B3A
triadic
#478B28 #28478B #8B2847
tetradic
#478B28 #28788B #6C288B #8B3A28
square
#478B28 #28788B #6C288B #8B3A28
split-complementary
#478B28 #3A288B #8B2878
monochromatic
#162C0D #2F5B1A #478B28 #5FBB36 #81D05D

Accessibility & contrast

On white

4.21
#478B28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#478B28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478B28
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478B28#FFFFFF#000000##000000
##478B281.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F19
Deuteranopia (green-blind)
#877931
Tritanopia (blue-blind)
#438677
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #478b28;
/* rgb */ color: rgb(71, 139, 40);
/* oklch */ color: oklch(57.1% 0.149 137.6);
Tailwind
colors: {
  custom: {
    50: '#81ad68',
    500: '#478b28',
    950: '#000000',
  },
}
SCSS
$custom: #478b28;
$custom-light: #81ad68;
$custom-dark: #000000;
JSON
{
  "hex": "#478b28",
  "rgb": {
    "r": 71,
    "g": 139,
    "b": 40
  },
  "hsl": {
    "h": 101.212,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.57106,
    "c": 0.14935,
    "h": 137.6
  },
  "luminance": 0.19958
}

Semantic roles & 50–950 ramp

primary
#478B28
secondary
#9959B6
accent
#49DFB0
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #478B28

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

Preview Lab → · Contrast checker → · Palette generator →

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