#478B2E#478B2E

#478B2E is a mid, vivid green. Relative luminance 0.200; OKLCH L 57.2% C 0.145 H 138.4°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#478B2E
RGBrgb(71, 139, 46)
HSLhsl(104, 50%, 36%)
HSVhsv(104, 67%, 55%)
CMYKcmyk(48.9%, 0%, 66.9%, 45.5%)
CIE-LABlab(51.84, -39.34, 41.73)
CIE-LCHlch(51.84, 57.35, 133.31°)
OKLaboklab(57.16% -0.1084 0.0962)
OKLCHoklch(57.16% 0.145 138.4)
XYZxyz(12.3239, 20.0012, 5.7955)
Luminance0.2000 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478B2E #722E8B
analogous
#768B2E #478B2E #2E8B44
triadic
#478B2E #2E478B #8B2E47
tetradic
#478B2E #2E768B #722E8B #8B442E
square
#478B2E #2E768B #722E8B #8B442E
split-complementary
#478B2E #442E8B #8B2E76
monochromatic
#182F10 #305D1F #478B2E #5EB93D #82CD67

Accessibility & contrast

On white

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

On black

5.00
#478B2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478B2E
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478B2E#FFFFFF#000000##000000
##478B2E1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F22
Deuteranopia (green-blind)
#867936
Tritanopia (blue-blind)
#428678
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #478b2e;
/* rgb */ color: rgb(71, 139, 46);
/* oklch */ color: oklch(57.2% 0.145 138.4);
Tailwind
colors: {
  custom: {
    50: '#80ad6b',
    500: '#478b2e',
    950: '#000000',
  },
}
SCSS
$custom: #478b2e;
$custom-light: #80ad6b;
$custom-dark: #000000;
JSON
{
  "hex": "#478b2e",
  "rgb": {
    "r": 71,
    "g": 139,
    "b": 46
  },
  "hsl": {
    "h": 103.871,
    "s": 50.27,
    "l": 36.275
  },
  "oklch": {
    "l": 0.57163,
    "c": 0.14492,
    "h": 138.4
  },
  "luminance": 0.20002
}

Semantic roles & 50–950 ramp

primary
#478B2E
secondary
#9D61B3
accent
#4EDAB4
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #478B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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