#478E25#478E25

#478E25 is a mid, vivid green. Relative luminance 0.208; OKLCH L 57.9% C 0.155 H 137.5°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#478E25
RGBrgb(71, 142, 37)
HSLhsl(101, 59%, 35%)
HSVhsv(101, 74%, 56%)
CMYKcmyk(50%, 0%, 73.9%, 44.3%)
CIE-LABlab(52.75, -41.36, 46.42)
CIE-LCHlch(52.75, 62.17, 131.70°)
OKLaboklab(57.89% -0.1145 0.1048)
OKLCHoklch(57.89% 0.155 137.5)
XYZxyz(12.6051, 20.8183, 5.1040)
Luminance0.2082 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478E25 #6C258E
analogous
#7C8E25 #478E25 #258E37
triadic
#478E25 #25478E #8E2547
tetradic
#478E25 #257C8E #6C258E #8E3725
square
#478E25 #257C8E #6C258E #8E3725
split-complementary
#478E25 #37258E #8E257C
monochromatic
#162D0C #2F5D18 #478E25 #5FBF32 #81D45A

Accessibility & contrast

On white

4.07
#478E25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#478E25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478E25
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478E25#FFFFFF#000000##000000
##478E251.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#938212
Deuteranopia (green-blind)
#897C2F
Tritanopia (blue-blind)
#42897A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #478e25;
/* rgb */ color: rgb(71, 142, 37);
/* oklch */ color: oklch(57.9% 0.155 137.5);
Tailwind
colors: {
  custom: {
    50: '#81b067',
    500: '#478e25',
    950: '#000000',
  },
}
SCSS
$custom: #478e25;
$custom-light: #81b067;
$custom-dark: #000000;
JSON
{
  "hex": "#478e25",
  "rgb": {
    "r": 71,
    "g": 142,
    "b": 37
  },
  "hsl": {
    "h": 100.571,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.57889,
    "c": 0.15524,
    "h": 137.5
  },
  "luminance": 0.20819
}

Semantic roles & 50–950 ramp

primary
#478E25
secondary
#9956B9
accent
#46E2AF
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #478E25

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

Preview Lab → · Contrast checker → · Palette generator →

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