#478B26#478B26

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

Color values

HEX#478B26
RGBrgb(71, 139, 38)
HSLhsl(100, 57%, 35%)
HSVhsv(100, 73%, 55%)
CMYKcmyk(48.9%, 0%, 72.7%, 45.5%)
CIE-LABlab(51.77, -40.04, 45.04)
CIE-LCHlch(51.77, 60.26, 131.64°)
OKLaboklab(57.09% -0.1109 0.1021)
OKLCHoklch(57.09% 0.151 137.4)
XYZxyz(12.1806, 19.9439, 5.0411)
Luminance0.1994 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478B26 #6A268B
analogous
#7A8B26 #478B26 #268B38
triadic
#478B26 #26478B #8B2647
tetradic
#478B26 #267A8B #6A268B #8B3826
square
#478B26 #267A8B #6A268B #8B3826
split-complementary
#478B26 #38268B #8B267A
monochromatic
#162B0C #2E5B19 #478B26 #60BB33 #81D25A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##478B26#FFFFFF#000000##000000
##478B261.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)
#907F15
Deuteranopia (green-blind)
#877930
Tritanopia (blue-blind)
#438677
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #478b26;
/* rgb */ color: rgb(71, 139, 38);
/* oklch */ color: oklch(57.1% 0.151 137.4);
Tailwind
colors: {
  custom: {
    50: '#81ad67',
    500: '#478b26',
    950: '#000000',
  },
}
SCSS
$custom: #478b26;
$custom-light: #81ad67;
$custom-dark: #000000;
JSON
{
  "hex": "#478b26",
  "rgb": {
    "r": 71,
    "g": 139,
    "b": 38
  },
  "hsl": {
    "h": 100.396,
    "s": 57.062,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57089,
    "c": 0.15071,
    "h": 137.4
  },
  "luminance": 0.19945
}

Semantic roles & 50–950 ramp

primary
#478B26
secondary
#9756B7
accent
#47E0AE
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #478B26

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

Preview Lab → · Contrast checker → · Palette generator →

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