#478C2D#478C2D

#478C2D is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.4% C 0.147 H 138.3°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#478C2D
RGBrgb(71, 140, 45)
HSLhsl(104, 51%, 36%)
HSVhsv(104, 68%, 55%)
CMYKcmyk(49.3%, 0%, 67.9%, 45.1%)
CIE-LABlab(52.16, -39.85, 42.51)
CIE-LCHlch(52.16, 58.27, 133.15°)
OKLaboklab(57.42% -0.1099 0.0977)
OKLCHoklch(57.42% 0.147 138.3)
XYZxyz(12.4498, 20.2844, 5.7414)
Luminance0.2029 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478C2D #722D8C
analogous
#778C2D #478C2D #2D8C43
triadic
#478C2D #2D478C #8C2D47
tetradic
#478C2D #2D778C #722D8C #8C432D
square
#478C2D #2D778C #722D8C #8C432D
split-complementary
#478C2D #432D8C #8C2D77
monochromatic
#182F0F #305E1E #478C2D #5EBA3C #82CE66

Accessibility & contrast

On white

4.15
#478C2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#478C2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478C2D
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478C2D#FFFFFF#000000##000000
##478C2D1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#908020
Deuteranopia (green-blind)
#877A35
Tritanopia (blue-blind)
#428779
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #478c2d;
/* rgb */ color: rgb(71, 140, 45);
/* oklch */ color: oklch(57.4% 0.147 138.3);
Tailwind
colors: {
  custom: {
    50: '#81ae6b',
    500: '#478c2d',
    950: '#000000',
  },
}
SCSS
$custom: #478c2d;
$custom-light: #81ae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#478c2d",
  "rgb": {
    "r": 71,
    "g": 140,
    "b": 45
  },
  "hsl": {
    "h": 103.579,
    "s": 51.351,
    "l": 36.275
  },
  "oklch": {
    "l": 0.57422,
    "c": 0.14704,
    "h": 138.3
  },
  "luminance": 0.20285
}

Semantic roles & 50–950 ramp

primary
#478C2D
secondary
#9D60B4
accent
#4DDBB4
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #478C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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