#478F2E#478F2E

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

Color values

HEX#478F2E
RGBrgb(71, 143, 46)
HSLhsl(105, 51%, 37%)
HSVhsv(105, 68%, 56%)
CMYKcmyk(50.3%, 0%, 67.8%, 43.9%)
CIE-LABlab(53.15, -41.00, 43.14)
CIE-LCHlch(53.15, 59.52, 133.54°)
OKLaboklab(58.24% -0.1129 0.0992)
OKLCHoklch(58.24% 0.15 138.7)
XYZxyz(12.9137, 21.1808, 5.9921)
Luminance0.2118 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478F2E #762E8F
analogous
#788F2E #478F2E #2E8F46
triadic
#478F2E #2E478F #8F2E47
tetradic
#478F2E #2E788F #762E8F #8F462E
square
#478F2E #2E788F #762E8F #8F462E
split-complementary
#478F2E #462E8F #8F2E78
monochromatic
#193210 #30611F #478F2E #5EBD3D #83CF69

Accessibility & contrast

On white

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

On black

5.24
#478F2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478F2E
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478F2E#FFFFFF#000000##000000
##478F2E1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #478f2e;
/* rgb */ color: rgb(71, 143, 46);
/* oklch */ color: oklch(58.2% 0.150 138.7);
Tailwind
colors: {
  custom: {
    50: '#81b06c',
    500: '#478f2e',
    950: '#000000',
  },
}
SCSS
$custom: #478f2e;
$custom-light: #81b06c;
$custom-dark: #000000;
JSON
{
  "hex": "#478f2e",
  "rgb": {
    "r": 71,
    "g": 143,
    "b": 46
  },
  "hsl": {
    "h": 104.536,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.58238,
    "c": 0.15029,
    "h": 138.7
  },
  "luminance": 0.21182
}

Semantic roles & 50–950 ramp

primary
#478F2E
secondary
#A063B6
accent
#4DDBB6
background
#F8FAF6
surface
#EFF5EC
border
#CACFC7
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #478F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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