#478B2D#478B2D

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

Color values

HEX#478B2D
RGBrgb(71, 139, 45)
HSLhsl(103, 51%, 36%)
HSVhsv(103, 68%, 55%)
CMYKcmyk(48.9%, 0%, 67.6%, 45.5%)
CIE-LABlab(51.83, -39.43, 42.16)
CIE-LCHlch(51.83, 57.73, 133.09°)
OKLaboklab(57.15% -0.1087 0.097)
OKLCHoklch(57.15% 0.146 138.3)
XYZxyz(12.3044, 19.9935, 5.6929)
Luminance0.1999 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478B2D #712D8B
analogous
#768B2D #478B2D #2D8B42
triadic
#478B2D #2D478B #8B2D47
tetradic
#478B2D #2D768B #712D8B #8B422D
square
#478B2D #2D768B #712D8B #8B422D
split-complementary
#478B2D #422D8B #8B2D76
monochromatic
#182F0F #2F5D1E #478B2D #5FB93C #82CD65

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##478B2D#FFFFFF#000000##000000
##478B2D1.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)
#8F7F21
Deuteranopia (green-blind)
#867935
Tritanopia (blue-blind)
#428678
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #478b2d;
/* rgb */ color: rgb(71, 139, 45);
/* oklch */ color: oklch(57.2% 0.146 138.3);
Tailwind
colors: {
  custom: {
    50: '#80ad6b',
    500: '#478b2d',
    950: '#000000',
  },
}
SCSS
$custom: #478b2d;
$custom-light: #80ad6b;
$custom-dark: #000000;
JSON
{
  "hex": "#478b2d",
  "rgb": {
    "r": 71,
    "g": 139,
    "b": 45
  },
  "hsl": {
    "h": 103.404,
    "s": 51.087,
    "l": 36.078
  },
  "oklch": {
    "l": 0.57153,
    "c": 0.14569,
    "h": 138.3
  },
  "luminance": 0.19994
}

Semantic roles & 50–950 ramp

primary
#478B2D
secondary
#9D60B4
accent
#4DDBB3
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #478B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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