#478C25#478C25

#478C25 is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.4% C 0.153 H 137.3°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#478C25
RGBrgb(71, 140, 37)
HSLhsl(100, 58%, 35%)
HSVhsv(100, 74%, 55%)
CMYKcmyk(49.3%, 0%, 73.6%, 45.1%)
CIE-LABlab(52.09, -40.54, 45.76)
CIE-LCHlch(52.09, 61.13, 131.54°)
OKLaboklab(57.35% -0.1123 0.1034)
OKLCHoklch(57.35% 0.153 137.3)
XYZxyz(12.3102, 20.2285, 5.0057)
Luminance0.2023 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478C25 #6A258C
analogous
#7B8C25 #478C25 #258C36
triadic
#478C25 #25478C #8C2547
tetradic
#478C25 #257B8C #6A258C #8C3625
square
#478C25 #257B8C #6A258C #8C3625
split-complementary
#478C25 #36258C #8C257B
monochromatic
#162B0B #2E5C18 #478C25 #60BC32 #81D358

Accessibility & contrast

On white

4.16
#478C25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#478C25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478C25
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478C25#FFFFFF#000000##000000
##478C251.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#918013
Deuteranopia (green-blind)
#887A2F
Tritanopia (blue-blind)
#438778
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #478c25;
/* rgb */ color: rgb(71, 140, 37);
/* oklch */ color: oklch(57.4% 0.153 137.3);
Tailwind
colors: {
  custom: {
    50: '#81ae66',
    500: '#478c25',
    950: '#000000',
  },
}
SCSS
$custom: #478c25;
$custom-light: #81ae66;
$custom-dark: #000000;
JSON
{
  "hex": "#478c25",
  "rgb": {
    "r": 71,
    "g": 140,
    "b": 37
  },
  "hsl": {
    "h": 100.194,
    "s": 58.192,
    "l": 34.706
  },
  "oklch": {
    "l": 0.5735,
    "c": 0.15267,
    "h": 137.3
  },
  "luminance": 0.20229
}

Semantic roles & 50–950 ramp

primary
#478C25
secondary
#9755B8
accent
#46E1AE
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #478C25

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

Preview Lab → · Contrast checker → · Palette generator →

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