#478F2B#478F2B

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

Color values

HEX#478F2B
RGBrgb(71, 143, 43)
HSLhsl(103, 54%, 36%)
HSVhsv(103, 70%, 56%)
CMYKcmyk(50.3%, 0%, 69.9%, 43.9%)
CIE-LABlab(53.12, -41.27, 44.40)
CIE-LCHlch(53.12, 60.62, 132.91°)
OKLaboklab(58.21% -0.1139 0.1014)
OKLCHoklch(58.21% 0.152 138.3)
XYZxyz(12.8566, 21.1580, 5.6915)
Luminance0.2116 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478F2B #732B8F
analogous
#798F2B #478F2B #2B8F41
triadic
#478F2B #2B478F #8F2B47
tetradic
#478F2B #2B798F #732B8F #8F412B
square
#478F2B #2B798F #732B8F #8F412B
split-complementary
#478F2B #412B8F #8F2B79
monochromatic
#18310F #30601D #478F2B #5EBE39 #82D064

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##478F2B#FFFFFF#000000##000000
##478F2B1.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)
#93831D
Deuteranopia (green-blind)
#8A7D34
Tritanopia (blue-blind)
#428A7B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #478f2b;
/* rgb */ color: rgb(71, 143, 43);
/* oklch */ color: oklch(58.2% 0.152 138.3);
Tailwind
colors: {
  custom: {
    50: '#81b06a',
    500: '#478f2b',
    950: '#000000',
  },
}
SCSS
$custom: #478f2b;
$custom-light: #81b06a;
$custom-dark: #000000;
JSON
{
  "hex": "#478f2b",
  "rgb": {
    "r": 71,
    "g": 143,
    "b": 43
  },
  "hsl": {
    "h": 103.2,
    "s": 53.763,
    "l": 36.471
  },
  "oklch": {
    "l": 0.58209,
    "c": 0.15248,
    "h": 138.3
  },
  "luminance": 0.21159
}

Semantic roles & 50–950 ramp

primary
#478F2B
secondary
#9E5FB7
accent
#4BDDB4
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #478F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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