#478C2E#478C2E

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

Color values

HEX#478C2E
RGBrgb(71, 140, 46)
HSLhsl(104, 51%, 36%)
HSVhsv(104, 67%, 55%)
CMYKcmyk(49.3%, 0%, 67.1%, 45.1%)
CIE-LABlab(52.17, -39.76, 42.09)
CIE-LCHlch(52.17, 57.90, 133.37°)
OKLaboklab(57.43% -0.1095 0.0969)
OKLCHoklch(57.43% 0.146 138.5)
XYZxyz(12.4693, 20.2922, 5.8440)
Luminance0.2029 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478C2E #732E8C
analogous
#768C2E #478C2E #2E8C44
triadic
#478C2E #2E478C #8C2E47
tetradic
#478C2E #2E768C #732E8C #8C442E
square
#478C2E #2E768C #732E8C #8C442E
split-complementary
#478C2E #442E8C #8C2E76
monochromatic
#183010 #305E1F #478C2E #5EBA3D #82CD67

Accessibility & contrast

On white

4.15
#478C2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#478C2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478C2E
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478C2E#FFFFFF#000000##000000
##478C2E1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#908022
Deuteranopia (green-blind)
#877A36
Tritanopia (blue-blind)
#428779
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #478c2e;
/* rgb */ color: rgb(71, 140, 46);
/* oklch */ color: oklch(57.4% 0.146 138.5);
Tailwind
colors: {
  custom: {
    50: '#80ae6b',
    500: '#478c2e',
    950: '#000000',
  },
}
SCSS
$custom: #478c2e;
$custom-light: #80ae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#478c2e",
  "rgb": {
    "r": 71,
    "g": 140,
    "b": 46
  },
  "hsl": {
    "h": 104.043,
    "s": 50.538,
    "l": 36.471
  },
  "oklch": {
    "l": 0.57432,
    "c": 0.14627,
    "h": 138.5
  },
  "luminance": 0.20293
}

Semantic roles & 50–950 ramp

primary
#478C2E
secondary
#9E62B4
accent
#4EDAB5
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #478C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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