#31AA32#31AA32

#31AA32 is a light, vivid green. Relative luminance 0.296; OKLCH L 64.8% C 0.190 H 143.1°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#31AA32
RGBrgb(49, 170, 50)
HSLhsl(120, 55%, 43%)
HSVhsv(120, 71%, 67%)
CMYKcmyk(71.2%, 0%, 70.6%, 33.3%)
CIE-LABlab(61.33, -56.02, 49.98)
CIE-LCHlch(61.33, 75.08, 138.26°)
OKLaboklab(64.82% -0.152 0.1142)
OKLCHoklch(64.82% 0.19 143.1)
XYZxyz(16.2161, 29.6309, 7.8817)
Luminance0.2963 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AA32 #AA31A9
analogous
#6CAA31 #31AA32 #31AA6E
triadic
#31AA32 #3231AA #AA3231
tetradic
#31AA32 #316CAA #AA31A9 #AA6E31
square
#31AA32 #316CAA #AA31A9 #AA6E31
split-complementary
#31AA32 #6E31AA #AA316C
monochromatic
#164B16 #237A24 #31AA32 #4DCC4E #7CD97D

Accessibility & contrast

On white

3.03
#31AA32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#31AA32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31AA32
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AA32#FFFFFF#000000##000000
##31AA321.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A20
Deuteranopia (green-blind)
#A0903E
Tritanopia (blue-blind)
#07A592
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #31aa32;
/* rgb */ color: rgb(49, 170, 50);
/* oklch */ color: oklch(64.8% 0.190 143.1);
Tailwind
colors: {
  custom: {
    50: '#7bc471',
    500: '#31aa32',
    950: '#000000',
  },
}
SCSS
$custom: #31aa32;
$custom-light: #7bc471;
$custom-dark: #000000;
JSON
{
  "hex": "#31aa32",
  "rgb": {
    "r": 49,
    "g": 170,
    "b": 50
  },
  "hsl": {
    "h": 120.496,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.64822,
    "c": 0.19017,
    "h": 143.1
  },
  "luminance": 0.29633
}

Semantic roles & 50–950 ramp

primary
#31AA32
secondary
#C275C1
accent
#49DDDF
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #31AA32

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

Preview Lab → · Contrast checker → · Palette generator →

#31AA32 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva