#478342#478342

#478342 is a mid, moderate green. Relative luminance 0.180; OKLCH L 55.3% C 0.115 H 142.3°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#478342
RGBrgb(71, 131, 66)
HSLhsl(115, 33%, 39%)
HSVhsv(115, 50%, 51%)
CMYKcmyk(45.8%, 0%, 49.6%, 48.6%)
CIE-LABlab(49.45, -33.42, 29.07)
CIE-LCHlch(49.45, 44.29, 138.98°)
OKLaboklab(55.28% -0.0911 0.0705)
OKLCHoklch(55.28% 0.115 142.3)
XYZxyz(11.6977, 17.9648, 8.0044)
Luminance0.1797 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478342 #7E4283
analogous
#678342 #478342 #42835D
triadic
#478342 #424783 #834247
tetradic
#478342 #426783 #7E4283 #835D42
square
#478342 #426783 #7E4283 #835D42
split-complementary
#478342 #5D4283 #834267
monochromatic
#1B3219 #315A2D #478342 #5EAB58 #85BF80

Accessibility & contrast

On white

4.57
#478342 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#478342 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478342
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478342#FFFFFF#000000##000000
##4783421.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#86793D
Deuteranopia (green-blind)
#7D7346
Tritanopia (blue-blind)
#408074
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #478342;
/* rgb */ color: rgb(71, 131, 66);
/* oklch */ color: oklch(55.3% 0.115 142.3);
Tailwind
colors: {
  custom: {
    50: '#7ea778',
    500: '#478342',
    950: '#000000',
  },
}
SCSS
$custom: #478342;
$custom-light: #7ea778;
$custom-dark: #000000;
JSON
{
  "hex": "#478342",
  "rgb": {
    "r": 71,
    "g": 131,
    "b": 66
  },
  "hsl": {
    "h": 115.385,
    "s": 32.995,
    "l": 38.627
  },
  "oklch": {
    "l": 0.55283,
    "c": 0.11517,
    "h": 142.3
  },
  "luminance": 0.17966
}

Semantic roles & 50–950 ramp

primary
#478342
secondary
#A677AA
accent
#5FC9C1
background
#F7FAF7
surface
#EEF4ED
border
#C9CEC8
text
#0A0F09
muted
#7C7F7B

Preview Lab

Preview with #478342

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

Preview Lab → · Contrast checker → · Palette generator →

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