#478C2A#478C2A

#478C2A is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.4% C 0.149 H 137.9°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#478C2A
RGBrgb(71, 140, 42)
HSLhsl(102, 54%, 36%)
HSVhsv(102, 70%, 55%)
CMYKcmyk(49.3%, 0%, 70%, 45.1%)
CIE-LABlab(52.13, -40.12, 43.77)
CIE-LCHlch(52.13, 59.38, 132.51°)
OKLaboklab(57.39% -0.1108 0.1)
OKLCHoklch(57.39% 0.149 137.9)
XYZxyz(12.3941, 20.2621, 5.4479)
Luminance0.2026 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478C2A #6F2A8C
analogous
#788C2A #478C2A #2A8C3E
triadic
#478C2A #2A478C #8C2A47
tetradic
#478C2A #2A788C #6F2A8C #8C3E2A
square
#478C2A #2A788C #6F2A8C #8C3E2A
split-complementary
#478C2A #3E2A8C #8C2A78
monochromatic
#172E0E #2F5D1C #478C2A #5FBB38 #82D061

Accessibility & contrast

On white

4.16
#478C2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#478C2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478C2A
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478C2A#FFFFFF#000000##000000
##478C2A1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#90801C
Deuteranopia (green-blind)
#877A33
Tritanopia (blue-blind)
#428778
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #478c2a;
/* rgb */ color: rgb(71, 140, 42);
/* oklch */ color: oklch(57.4% 0.149 137.9);
Tailwind
colors: {
  custom: {
    50: '#81ae69',
    500: '#478c2a',
    950: '#000000',
  },
}
SCSS
$custom: #478c2a;
$custom-light: #81ae69;
$custom-dark: #000000;
JSON
{
  "hex": "#478c2a",
  "rgb": {
    "r": 71,
    "g": 140,
    "b": 42
  },
  "hsl": {
    "h": 102.245,
    "s": 53.846,
    "l": 35.686
  },
  "oklch": {
    "l": 0.57393,
    "c": 0.14925,
    "h": 137.9
  },
  "luminance": 0.20263
}

Semantic roles & 50–950 ramp

primary
#478C2A
secondary
#9B5CB5
accent
#4BDDB2
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #478C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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