#478142#478142

#478142 is a mid, moderate green. Relative luminance 0.174; OKLCH L 54.8% C 0.112 H 142.3°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#478142
RGBrgb(71, 129, 66)
HSLhsl(115, 32%, 38%)
HSVhsv(115, 49%, 51%)
CMYKcmyk(45%, 0%, 48.8%, 49.4%)
CIE-LABlab(48.80, -32.51, 28.25)
CIE-LCHlch(48.80, 43.07, 139.00°)
OKLaboklab(54.75% -0.0886 0.0686)
OKLCHoklch(54.75% 0.112 142.3)
XYZxyz(11.4316, 17.4327, 7.9157)
Luminance0.1743 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478142 #7C4281
analogous
#668142 #478142 #42815C
triadic
#478142 #424781 #814247
tetradic
#478142 #426681 #7C4281 #815C42
square
#478142 #426681 #7C4281 #815C42
split-complementary
#478142 #5C4281 #814266
monochromatic
#1A3019 #31592D #478142 #5EA957 #85BE80

Accessibility & contrast

On white

4.68
#478142 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#478142 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #478142
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478142#FFFFFF#000000##FFFFFF
##4781421.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84773D
Deuteranopia (green-blind)
#7B7246
Tritanopia (blue-blind)
#417E72
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #478142;
/* rgb */ color: rgb(71, 129, 66);
/* oklch */ color: oklch(54.8% 0.112 142.3);
Tailwind
colors: {
  custom: {
    50: '#7ea677',
    500: '#478142',
    950: '#000000',
  },
}
SCSS
$custom: #478142;
$custom-light: #7ea677;
$custom-dark: #000000;
JSON
{
  "hex": "#478142",
  "rgb": {
    "r": 71,
    "g": 129,
    "b": 66
  },
  "hsl": {
    "h": 115.238,
    "s": 32.308,
    "l": 38.235
  },
  "oklch": {
    "l": 0.5475,
    "c": 0.11208,
    "h": 142.3
  },
  "luminance": 0.17433
}

Semantic roles & 50–950 ramp

primary
#478142
secondary
#A576A9
accent
#5FC8C0
background
#F7FAF7
surface
#EEF4ED
border
#C9CEC8
text
#0A0F09
muted
#7C7F7B

Preview Lab

Preview with #478142

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

Preview Lab → · Contrast checker → · Palette generator →

#478142 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva