#478D2F#478D2F

#478D2F is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.7% C 0.147 H 138.7°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#478D2F
RGBrgb(71, 141, 47)
HSLhsl(105, 50%, 37%)
HSVhsv(105, 67%, 55%)
CMYKcmyk(49.6%, 0%, 66.7%, 44.7%)
CIE-LABlab(52.50, -40.08, 42.01)
CIE-LCHlch(52.50, 58.06, 133.65°)
OKLaboklab(57.71% -0.1103 0.0969)
OKLCHoklch(57.71% 0.147 138.7)
XYZxyz(12.6360, 20.5937, 5.9979)
Luminance0.2059 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478D2F #752F8D
analogous
#768D2F #478D2F #2F8D46
triadic
#478D2F #2F478D #8D2F47
tetradic
#478D2F #2F768D #752F8D #8D462F
square
#478D2F #2F768D #752F8D #8D462F
split-complementary
#478D2F #462F8D #8D2F76
monochromatic
#193110 #305F20 #478D2F #5EBB3E #83CD69

Accessibility & contrast

On white

4.10
#478D2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#478D2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478D2F
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478D2F#FFFFFF#000000##000000
##478D2F1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#918123
Deuteranopia (green-blind)
#887B37
Tritanopia (blue-blind)
#41887A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #478d2f;
/* rgb */ color: rgb(71, 141, 47);
/* oklch */ color: oklch(57.7% 0.147 138.7);
Tailwind
colors: {
  custom: {
    50: '#81af6c',
    500: '#478d2f',
    950: '#000000',
  },
}
SCSS
$custom: #478d2f;
$custom-light: #81af6c;
$custom-dark: #000000;
JSON
{
  "hex": "#478d2f",
  "rgb": {
    "r": 71,
    "g": 141,
    "b": 47
  },
  "hsl": {
    "h": 104.681,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.57711,
    "c": 0.14685,
    "h": 138.7
  },
  "luminance": 0.20595
}

Semantic roles & 50–950 ramp

primary
#478D2F
secondary
#A064B4
accent
#4EDAB6
background
#F8FAF6
surface
#EFF4EC
border
#CACEC7
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #478D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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