#479231#479231

#479231 is a mid, vivid green. Relative luminance 0.221; OKLCH L 59.1% C 0.152 H 139.3°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#479231
RGBrgb(71, 146, 49)
HSLhsl(106, 50%, 38%)
HSVhsv(106, 66%, 57%)
CMYKcmyk(51.4%, 0%, 66.4%, 42.7%)
CIE-LABlab(54.15, -41.95, 42.92)
CIE-LCHlch(54.15, 60.01, 134.34°)
OKLaboklab(59.07% -0.1153 0.0991)
OKLCHoklch(59.07% 0.152 139.3)
XYZxyz(13.4313, 22.1181, 6.4666)
Luminance0.2212 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#479231 #7C3192
analogous
#779231 #479231 #31924B
triadic
#479231 #314792 #923147
tetradic
#479231 #317792 #7C3192 #924B31
square
#479231 #317792 #7C3192 #924B31
split-complementary
#479231 #4B3192 #923177
monochromatic
#1A3612 #316422 #479231 #5EBF41 #85CF6F

Accessibility & contrast

On white

3.87
#479231 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#479231 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #479231
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##479231#FFFFFF#000000##000000
##4792311.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#968525
Deuteranopia (green-blind)
#8C7F39
Tritanopia (blue-blind)
#408D7E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #479231;
/* rgb */ color: rgb(71, 146, 49);
/* oklch */ color: oklch(59.1% 0.152 139.3);
Tailwind
colors: {
  custom: {
    50: '#81b36e',
    500: '#479231',
    950: '#000000',
  },
}
SCSS
$custom: #479231;
$custom-light: #81b36e;
$custom-dark: #000000;
JSON
{
  "hex": "#479231",
  "rgb": {
    "r": 71,
    "g": 146,
    "b": 49
  },
  "hsl": {
    "h": 106.392,
    "s": 49.744,
    "l": 38.235
  },
  "oklch": {
    "l": 0.59072,
    "c": 0.15199,
    "h": 139.3
  },
  "luminance": 0.22119
}

Semantic roles & 50–950 ramp

primary
#479231
secondary
#A569B6
accent
#4FD9BA
background
#F8FBF6
surface
#EFF6EC
border
#CAD0C7
text
#0B1107
muted
#7C807A

Preview Lab

Preview with #479231

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

Preview Lab → · Contrast checker → · Palette generator →

#479231 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva