#478B25#478B25

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

Color values

HEX#478B25
RGBrgb(71, 139, 37)
HSLhsl(100, 58%, 35%)
HSVhsv(100, 73%, 55%)
CMYKcmyk(48.9%, 0%, 73.4%, 45.5%)
CIE-LABlab(51.77, -40.12, 45.42)
CIE-LCHlch(51.77, 60.61, 131.45°)
OKLaboklab(57.08% -0.1112 0.1027)
OKLCHoklch(57.08% 0.151 137.3)
XYZxyz(12.1647, 19.9376, 4.9572)
Luminance0.1994 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478B25 #69258B
analogous
#7A8B25 #478B25 #258B36
triadic
#478B25 #25478B #8B2547
tetradic
#478B25 #257A8B #69258B #8B3625
square
#478B25 #257A8B #69258B #8B3625
split-complementary
#478B25 #36258B #8B257A
monochromatic
#162A0B #2E5B18 #478B25 #60BB32 #81D358

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##478B25#FFFFFF#000000##000000
##478B251.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)
#907F14
Deuteranopia (green-blind)
#87792F
Tritanopia (blue-blind)
#438677
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #478b25;
/* rgb */ color: rgb(71, 139, 37);
/* oklch */ color: oklch(57.1% 0.151 137.3);
Tailwind
colors: {
  custom: {
    50: '#81ad66',
    500: '#478b25',
    950: '#000000',
  },
}
SCSS
$custom: #478b25;
$custom-light: #81ad66;
$custom-dark: #000000;
JSON
{
  "hex": "#478b25",
  "rgb": {
    "r": 71,
    "g": 139,
    "b": 37
  },
  "hsl": {
    "h": 100,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57081,
    "c": 0.15137,
    "h": 137.3
  },
  "luminance": 0.19938
}

Semantic roles & 50–950 ramp

primary
#478B25
secondary
#9655B7
accent
#47E1AE
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #478B25

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

Preview Lab → · Contrast checker → · Palette generator →

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