#478A4E#478A4E

#478A4E is a mid, moderate green. Relative luminance 0.201; OKLCH L 57.4% C 0.114 H 146.1°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#478A4E
RGBrgb(71, 138, 78)
HSLhsl(126, 32%, 41%)
HSVhsv(126, 49%, 54%)
CMYKcmyk(48.6%, 0%, 43.5%, 45.9%)
CIE-LABlab(51.91, -34.70, 25.69)
CIE-LCHlch(51.91, 43.18, 143.48°)
OKLaboklab(57.35% -0.0943 0.0633)
OKLCHoklch(57.35% 0.114 146.1)
XYZxyz(13.0614, 20.0657, 10.3910)
Luminance0.2007 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478A4E #8A4783
analogous
#618A47 #478A4E #478A6F
triadic
#478A4E #4E478A #8A4E47
tetradic
#478A4E #47618A #8A4783 #8A6F47
square
#478A4E #47618A #8A4783 #8A6F47
split-complementary
#478A4E #6F478A #8A4761
monochromatic
#1D3920 #326237 #478A4E #61AE69 #89C28F

Accessibility & contrast

On white

4.19
#478A4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#478A4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478A4E
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478A4E#FFFFFF#000000##000000
##478A4E1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C804A
Deuteranopia (green-blind)
#827952
Tritanopia (blue-blind)
#3D877B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #478a4e;
/* rgb */ color: rgb(71, 138, 78);
/* oklch */ color: oklch(57.4% 0.114 146.1);
Tailwind
colors: {
  custom: {
    50: '#7fad80',
    500: '#478a4e',
    950: '#000000',
  },
}
SCSS
$custom: #478a4e;
$custom-light: #7fad80;
$custom-dark: #000000;
JSON
{
  "hex": "#478a4e",
  "rgb": {
    "r": 71,
    "g": 138,
    "b": 78
  },
  "hsl": {
    "h": 126.269,
    "s": 32.057,
    "l": 40.98
  },
  "oklch": {
    "l": 0.57352,
    "c": 0.11355,
    "h": 146.1
  },
  "luminance": 0.20067
}

Semantic roles & 50–950 ramp

primary
#478A4E
secondary
#AE7FA9
accent
#60BDC8
background
#F7FAF7
surface
#EEF4EE
border
#C9CEC9
text
#0A100A
muted
#7C7F7C

Preview Lab

Preview with #478A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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