#478F2F#478F2F

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

Color values

HEX#478F2F
RGBrgb(71, 143, 47)
HSLhsl(105, 51%, 37%)
HSVhsv(105, 67%, 56%)
CMYKcmyk(50.3%, 0%, 67.1%, 43.9%)
CIE-LABlab(53.16, -40.91, 42.72)
CIE-LCHlch(53.16, 59.15, 133.76°)
OKLaboklab(58.25% -0.1126 0.0984)
OKLCHoklch(58.25% 0.15 138.9)
XYZxyz(12.9336, 21.1888, 6.0971)
Luminance0.2119 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478F2F #772F8F
analogous
#778F2F #478F2F #2F8F47
triadic
#478F2F #2F478F #8F2F47
tetradic
#478F2F #2F778F #772F8F #8F472F
square
#478F2F #2F778F #772F8F #8F472F
split-complementary
#478F2F #472F8F #8F2F77
monochromatic
#193311 #306120 #478F2F #5EBD3E #83CE6A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##478F2F#FFFFFF#000000##000000
##478F2F1.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)
#938323
Deuteranopia (green-blind)
#8A7D37
Tritanopia (blue-blind)
#418A7B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #478f2f;
/* rgb */ color: rgb(71, 143, 47);
/* oklch */ color: oklch(58.2% 0.150 138.9);
Tailwind
colors: {
  custom: {
    50: '#81b06c',
    500: '#478f2f',
    950: '#000000',
  },
}
SCSS
$custom: #478f2f;
$custom-light: #81b06c;
$custom-dark: #000000;
JSON
{
  "hex": "#478f2f",
  "rgb": {
    "r": 71,
    "g": 143,
    "b": 47
  },
  "hsl": {
    "h": 105,
    "s": 50.526,
    "l": 37.255
  },
  "oklch": {
    "l": 0.58247,
    "c": 0.14952,
    "h": 138.9
  },
  "luminance": 0.2119
}

Semantic roles & 50–950 ramp

primary
#478F2F
secondary
#A165B5
accent
#4EDAB7
background
#F8FAF6
surface
#EFF5EC
border
#CACFC7
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #478F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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