#478232#478232

#478232 is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.8% C 0.129 H 138.3°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#478232
RGBrgb(71, 130, 50)
HSLhsl(104, 44%, 35%)
HSVhsv(104, 62%, 51%)
CMYKcmyk(45.4%, 0%, 61.5%, 49%)
CIE-LABlab(48.93, -35.04, 36.63)
CIE-LCHlch(48.93, 50.69, 133.73°)
OKLaboklab(54.79% -0.0964 0.0858)
OKLCHoklch(54.79% 0.129 138.3)
XYZxyz(11.1565, 17.5345, 5.8136)
Luminance0.1754 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478232 #6D3282
analogous
#6F8232 #478232 #328245
triadic
#478232 #324782 #823247
tetradic
#478232 #326F82 #6D3282 #824532
square
#478232 #326F82 #6D3282 #824532
split-complementary
#478232 #453282 #82326F
monochromatic
#172A10 #2F5621 #478232 #5FAE43 #81C569

Accessibility & contrast

On white

4.66
#478232 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#478232 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #478232
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478232#FFFFFF#000000##FFFFFF
##4782321.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867729
Deuteranopia (green-blind)
#7E7238
Tritanopia (blue-blind)
#437E71
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #478232;
/* rgb */ color: rgb(71, 130, 50);
/* oklch */ color: oklch(54.8% 0.129 138.3);
Tailwind
colors: {
  custom: {
    50: '#7fa76d',
    500: '#478232',
    950: '#000000',
  },
}
SCSS
$custom: #478232;
$custom-light: #7fa76d;
$custom-dark: #000000;
JSON
{
  "hex": "#478232",
  "rgb": {
    "r": 71,
    "g": 130,
    "b": 50
  },
  "hsl": {
    "h": 104.25,
    "s": 44.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.54788,
    "c": 0.12908,
    "h": 138.3
  },
  "luminance": 0.17535
}

Semantic roles & 50–950 ramp

primary
#478232
secondary
#9963AD
accent
#54D4B2
background
#F8FAF6
surface
#EFF4EC
border
#CACEC7
text
#0A0F07
muted
#7C7F7A

Preview Lab

Preview with #478232

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

Preview Lab → · Contrast checker → · Palette generator →

#478232 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva