#478B4E#478B4E

#478B4E is a mid, moderate green. Relative luminance 0.204; OKLCH L 57.6% C 0.115 H 146.1°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#478B4E
RGBrgb(71, 139, 78)
HSLhsl(126, 32%, 41%)
HSVhsv(126, 49%, 55%)
CMYKcmyk(48.9%, 0%, 43.9%, 45.5%)
CIE-LABlab(52.23, -35.15, 26.11)
CIE-LCHlch(52.23, 43.79, 143.40°)
OKLaboklab(57.62% -0.0955 0.0643)
OKLCHoklch(57.62% 0.115 146.1)
XYZxyz(13.2056, 20.3539, 10.4391)
Luminance0.2036 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478B4E #8B4784
analogous
#628B47 #478B4E #478B70
triadic
#478B4E #4E478B #8B4E47
tetradic
#478B4E #47628B #8B4784 #8B7047
square
#478B4E #47628B #8B4784 #8B7047
split-complementary
#478B4E #70478B #8B4762
monochromatic
#1E3A21 #326237 #478B4E #61AE69 #89C38F

Accessibility & contrast

On white

4.14
#478B4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#478B4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478B4E
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478B4E#FFFFFF#000000##000000
##478B4E1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D8149
Deuteranopia (green-blind)
#837A52
Tritanopia (blue-blind)
#3C887C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #478b4e;
/* rgb */ color: rgb(71, 139, 78);
/* oklch */ color: oklch(57.6% 0.115 146.1);
Tailwind
colors: {
  custom: {
    50: '#7fad80',
    500: '#478b4e',
    950: '#000000',
  },
}
SCSS
$custom: #478b4e;
$custom-light: #7fad80;
$custom-dark: #000000;
JSON
{
  "hex": "#478b4e",
  "rgb": {
    "r": 71,
    "g": 139,
    "b": 78
  },
  "hsl": {
    "h": 126.176,
    "s": 32.381,
    "l": 41.176
  },
  "oklch": {
    "l": 0.57616,
    "c": 0.1151,
    "h": 146.1
  },
  "luminance": 0.20355
}

Semantic roles & 50–950 ramp

primary
#478B4E
secondary
#AE7FAA
accent
#5FBEC9
background
#F8FAF7
surface
#EFF4EE
border
#CACEC9
text
#0A100A
muted
#7C7F7C

Preview Lab

Preview with #478B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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