#478F2A#478F2A

#478F2A is a mid, vivid green. Relative luminance 0.212; OKLCH L 58.2% C 0.153 H 138.2°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#478F2A
RGBrgb(71, 143, 42)
HSLhsl(103, 55%, 36%)
HSVhsv(103, 71%, 56%)
CMYKcmyk(50.3%, 0%, 70.6%, 43.9%)
CIE-LABlab(53.11, -41.36, 44.80)
CIE-LCHlch(53.11, 60.98, 132.71°)
OKLaboklab(58.2% -0.1142 0.1021)
OKLCHoklch(58.2% 0.153 138.2)
XYZxyz(12.8385, 21.1508, 5.5960)
Luminance0.2115 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478F2A #722A8F
analogous
#7A8F2A #478F2A #2A8F40
triadic
#478F2A #2A478F #8F2A47
tetradic
#478F2A #2A7A8F #722A8F #8F402A
square
#478F2A #2A7A8F #722A8F #8F402A
split-complementary
#478F2A #402A8F #8F2A7A
monochromatic
#18300E #30601C #478F2A #5EBE38 #82D162

Accessibility & contrast

On white

4.01
#478F2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#478F2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478F2A
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478F2A#FFFFFF#000000##000000
##478F2A1.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#94831B
Deuteranopia (green-blind)
#8A7D33
Tritanopia (blue-blind)
#428A7B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #478f2a;
/* rgb */ color: rgb(71, 143, 42);
/* oklch */ color: oklch(58.2% 0.153 138.2);
Tailwind
colors: {
  custom: {
    50: '#81b069',
    500: '#478f2a',
    950: '#000000',
  },
}
SCSS
$custom: #478f2a;
$custom-light: #81b069;
$custom-dark: #000000;
JSON
{
  "hex": "#478f2a",
  "rgb": {
    "r": 71,
    "g": 143,
    "b": 42
  },
  "hsl": {
    "h": 102.772,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.582,
    "c": 0.15319,
    "h": 138.2
  },
  "luminance": 0.21152
}

Semantic roles & 50–950 ramp

primary
#478F2A
secondary
#9D5EB7
accent
#4ADEB3
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #478F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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