#478C2F#478C2F

#478C2F is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.4% C 0.145 H 138.6°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#478C2F
RGBrgb(71, 140, 47)
HSLhsl(105, 50%, 37%)
HSVhsv(105, 66%, 55%)
CMYKcmyk(49.3%, 0%, 66.4%, 45.1%)
CIE-LABlab(52.17, -39.66, 41.65)
CIE-LCHlch(52.17, 57.51, 133.60°)
OKLaboklab(57.44% -0.1092 0.0961)
OKLCHoklch(57.44% 0.146 138.6)
XYZxyz(12.4893, 20.3001, 5.9490)
Luminance0.2030 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478C2F #742F8C
analogous
#768C2F #478C2F #2F8C46
triadic
#478C2F #2F478C #8C2F47
tetradic
#478C2F #2F768C #742F8C #8C462F
square
#478C2F #2F768C #742F8C #8C462F
split-complementary
#478C2F #462F8C #8C2F76
monochromatic
#193010 #305E20 #478C2F #5EBA3E #83CD69

Accessibility & contrast

On white

4.15
#478C2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#478C2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478C2F
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478C2F#FFFFFF#000000##000000
##478C2F1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#908023
Deuteranopia (green-blind)
#877A37
Tritanopia (blue-blind)
#428779
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #478c2f;
/* rgb */ color: rgb(71, 140, 47);
/* oklch */ color: oklch(57.4% 0.145 138.6);
Tailwind
colors: {
  custom: {
    50: '#80ae6c',
    500: '#478c2f',
    950: '#000000',
  },
}
SCSS
$custom: #478c2f;
$custom-light: #80ae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#478c2f",
  "rgb": {
    "r": 71,
    "g": 140,
    "b": 47
  },
  "hsl": {
    "h": 104.516,
    "s": 49.733,
    "l": 36.667
  },
  "oklch": {
    "l": 0.57442,
    "c": 0.1455,
    "h": 138.6
  },
  "luminance": 0.20301
}

Semantic roles & 50–950 ramp

primary
#478C2F
secondary
#9F63B4
accent
#4FD9B5
background
#F8FAF6
surface
#EFF4EC
border
#CACEC7
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #478C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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