#478B2A#478B2A

#478B2A is a mid, vivid green. Relative luminance 0.200; OKLCH L 57.1% C 0.148 H 137.9°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#478B2A
RGBrgb(71, 139, 42)
HSLhsl(102, 54%, 35%)
HSVhsv(102, 70%, 55%)
CMYKcmyk(48.9%, 0%, 69.8%, 45.5%)
CIE-LABlab(51.80, -39.71, 43.43)
CIE-LCHlch(51.80, 58.84, 132.44°)
OKLaboklab(57.12% -0.1097 0.0993)
OKLCHoklch(57.12% 0.148 137.9)
XYZxyz(12.2487, 19.9712, 5.3994)
Luminance0.1997 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478B2A #6E2A8B
analogous
#778B2A #478B2A #2A8B3D
triadic
#478B2A #2A478B #8B2A47
tetradic
#478B2A #2A778B #6E2A8B #8B3D2A
square
#478B2A #2A778B #6E2A8B #8B3D2A
split-complementary
#478B2A #3D2A8B #8B2A77
monochromatic
#172D0E #2F5C1C #478B2A #5FBA38 #81CF60

Accessibility & contrast

On white

4.20
#478B2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#478B2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478B2A
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478B2A#FFFFFF#000000##000000
##478B2A1.004.204.994.99
#FFFFFF4.201.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F1C
Deuteranopia (green-blind)
#867933
Tritanopia (blue-blind)
#428677
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #478b2a;
/* rgb */ color: rgb(71, 139, 42);
/* oklch */ color: oklch(57.1% 0.148 137.9);
Tailwind
colors: {
  custom: {
    50: '#81ad69',
    500: '#478b2a',
    950: '#000000',
  },
}
SCSS
$custom: #478b2a;
$custom-light: #81ad69;
$custom-dark: #000000;
JSON
{
  "hex": "#478b2a",
  "rgb": {
    "r": 71,
    "g": 139,
    "b": 42
  },
  "hsl": {
    "h": 102.062,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.57124,
    "c": 0.14793,
    "h": 137.9
  },
  "luminance": 0.19972
}

Semantic roles & 50–950 ramp

primary
#478B2A
secondary
#9A5CB5
accent
#4BDDB1
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #478B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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