#478F2D#478F2D

#478F2D is a mid, vivid green. Relative luminance 0.212; OKLCH L 58.2% C 0.151 H 138.6°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#478F2D
RGBrgb(71, 143, 45)
HSLhsl(104, 52%, 37%)
HSVhsv(104, 69%, 56%)
CMYKcmyk(50.3%, 0%, 68.5%, 43.9%)
CIE-LABlab(53.14, -41.10, 43.57)
CIE-LCHlch(53.14, 59.89, 133.33°)
OKLaboklab(58.23% -0.1132 0.0999)
OKLCHoklch(58.23% 0.151 138.6)
XYZxyz(12.8942, 21.1731, 5.8895)
Luminance0.2117 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478F2D #752D8F
analogous
#788F2D #478F2D #2D8F44
triadic
#478F2D #2D478F #8F2D47
tetradic
#478F2D #2D788F #752D8F #8F442D
square
#478F2D #2D788F #752D8F #8F442D
split-complementary
#478F2D #442D8F #8F2D78
monochromatic
#193210 #30601E #478F2D #5EBE3C #83CF67

Accessibility & contrast

On white

4.01
#478F2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#478F2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478F2D
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478F2D#FFFFFF#000000##000000
##478F2D1.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#938320
Deuteranopia (green-blind)
#8A7D36
Tritanopia (blue-blind)
#418A7B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #478f2d;
/* rgb */ color: rgb(71, 143, 45);
/* oklch */ color: oklch(58.2% 0.151 138.6);
Tailwind
colors: {
  custom: {
    50: '#81b06b',
    500: '#478f2d',
    950: '#000000',
  },
}
SCSS
$custom: #478f2d;
$custom-light: #81b06b;
$custom-dark: #000000;
JSON
{
  "hex": "#478f2d",
  "rgb": {
    "r": 71,
    "g": 143,
    "b": 45
  },
  "hsl": {
    "h": 104.082,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.58228,
    "c": 0.15103,
    "h": 138.6
  },
  "luminance": 0.21174
}

Semantic roles & 50–950 ramp

primary
#478F2D
secondary
#A062B6
accent
#4CDCB6
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #478F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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