#478D30#478D30

#478D30 is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.7% C 0.146 H 138.9°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#478D30
RGBrgb(71, 141, 48)
HSLhsl(105, 49%, 37%)
HSVhsv(105, 66%, 55%)
CMYKcmyk(49.6%, 0%, 66%, 44.7%)
CIE-LABlab(52.51, -39.98, 41.57)
CIE-LCHlch(52.51, 57.68, 133.88°)
OKLaboklab(57.72% -0.11 0.0961)
OKLCHoklch(57.72% 0.146 138.9)
XYZxyz(12.6564, 20.6019, 6.1054)
Luminance0.2060 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478D30 #76308D
analogous
#768D30 #478D30 #308D48
triadic
#478D30 #30478D #8D3047
tetradic
#478D30 #30768D #76308D #8D4830
square
#478D30 #30768D #76308D #8D4830
split-complementary
#478D30 #48308D #8D3076
monochromatic
#193211 #305F20 #478D30 #5EBB40 #83CD6B

Accessibility & contrast

On white

4.10
#478D30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#478D30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478D30
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478D30#FFFFFF#000000##000000
##478D301.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#918124
Deuteranopia (green-blind)
#887B38
Tritanopia (blue-blind)
#41887A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #478d30;
/* rgb */ color: rgb(71, 141, 48);
/* oklch */ color: oklch(57.7% 0.146 138.9);
Tailwind
colors: {
  custom: {
    50: '#80af6d',
    500: '#478d30',
    950: '#000000',
  },
}
SCSS
$custom: #478d30;
$custom-light: #80af6d;
$custom-dark: #000000;
JSON
{
  "hex": "#478d30",
  "rgb": {
    "r": 71,
    "g": 141,
    "b": 48
  },
  "hsl": {
    "h": 105.161,
    "s": 49.206,
    "l": 37.059
  },
  "oklch": {
    "l": 0.57721,
    "c": 0.14607,
    "h": 138.9
  },
  "luminance": 0.20603
}

Semantic roles & 50–950 ramp

primary
#478D30
secondary
#A065B4
accent
#4FD9B7
background
#F8FAF6
surface
#EFF4EC
border
#CACEC7
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #478D30

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

Preview Lab → · Contrast checker → · Palette generator →

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