#478C28#478C28

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

Color values

HEX#478C28
RGBrgb(71, 140, 40)
HSLhsl(101, 56%, 35%)
HSVhsv(101, 71%, 55%)
CMYKcmyk(49.3%, 0%, 71.4%, 45.1%)
CIE-LABlab(52.12, -40.29, 44.58)
CIE-LCHlch(52.12, 60.09, 132.11°)
OKLaboklab(57.38% -0.1114 0.1014)
OKLCHoklch(57.38% 0.151 137.7)
XYZxyz(12.3592, 20.2481, 5.2641)
Luminance0.2025 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478C28 #6D288C
analogous
#798C28 #478C28 #288C3B
triadic
#478C28 #28478C #8C2847
tetradic
#478C28 #28798C #6D288C #8C3B28
square
#478C28 #28798C #6D288C #8C3B28
split-complementary
#478C28 #3B288C #8C2879
monochromatic
#172D0D #2F5C1A #478C28 #5FBC36 #81D15E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##478C28#FFFFFF#000000##000000
##478C281.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)
#918019
Deuteranopia (green-blind)
#877A31
Tritanopia (blue-blind)
#428778
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #478c28;
/* rgb */ color: rgb(71, 140, 40);
/* oklch */ color: oklch(57.4% 0.151 137.7);
Tailwind
colors: {
  custom: {
    50: '#81ae68',
    500: '#478c28',
    950: '#000000',
  },
}
SCSS
$custom: #478c28;
$custom-light: #81ae68;
$custom-dark: #000000;
JSON
{
  "hex": "#478c28",
  "rgb": {
    "r": 71,
    "g": 140,
    "b": 40
  },
  "hsl": {
    "h": 101.4,
    "s": 55.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.57375,
    "c": 0.15066,
    "h": 137.7
  },
  "luminance": 0.20249
}

Semantic roles & 50–950 ramp

primary
#478C28
secondary
#9A5AB6
accent
#49DFB0
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #478C28

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

Preview Lab → · Contrast checker → · Palette generator →

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