#478D38#478D38

#478D38 is a mid, vivid green. Relative luminance 0.207; OKLCH L 57.8% C 0.139 H 140.2°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#478D38
RGBrgb(71, 141, 56)
HSLhsl(109, 43%, 39%)
HSVhsv(109, 60%, 55%)
CMYKcmyk(49.6%, 0%, 60.3%, 44.7%)
CIE-LABlab(52.59, -39.12, 37.93)
CIE-LCHlch(52.59, 54.49, 135.88°)
OKLaboklab(57.81% -0.1071 0.0892)
OKLCHoklch(57.81% 0.139 140.2)
XYZxyz(12.8367, 20.6740, 7.0547)
Luminance0.2067 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478D38 #7E388D
analogous
#718D38 #478D38 #388D53
triadic
#478D38 #38478D #8D3847
tetradic
#478D38 #38718D #7E388D #8D5338
square
#478D38 #38718D #7E388D #8D5338
split-complementary
#478D38 #53388D #8D3871
monochromatic
#1B3515 #316127 #478D38 #5EB74B #85C977

Accessibility & contrast

On white

4.09
#478D38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#478D38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478D38
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478D38#FFFFFF#000000##000000
##478D381.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#91812F
Deuteranopia (green-blind)
#877B3F
Tritanopia (blue-blind)
#40897B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #478d38;
/* rgb */ color: rgb(71, 141, 56);
/* oklch */ color: oklch(57.8% 0.139 140.2);
Tailwind
colors: {
  custom: {
    50: '#80af72',
    500: '#478d38',
    950: '#000000',
  },
}
SCSS
$custom: #478d38;
$custom-light: #80af72;
$custom-dark: #000000;
JSON
{
  "hex": "#478d38",
  "rgb": {
    "r": 71,
    "g": 141,
    "b": 56
  },
  "hsl": {
    "h": 109.412,
    "s": 43.147,
    "l": 38.627
  },
  "oklch": {
    "l": 0.57812,
    "c": 0.1394,
    "h": 140.2
  },
  "luminance": 0.20675
}

Semantic roles & 50–950 ramp

primary
#478D38
secondary
#A66FB2
accent
#55D3BD
background
#F8FAF7
surface
#EFF4ED
border
#CACEC8
text
#0B1008
muted
#7C7F7B

Preview Lab

Preview with #478D38

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

Preview Lab → · Contrast checker → · Palette generator →

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