#31AA3B#31AA3B

#31AA3B is a light, vivid green. Relative luminance 0.297; OKLCH L 64.9% C 0.184 H 144.2°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#31AA3B
RGBrgb(49, 170, 59)
HSLhsl(125, 55%, 43%)
HSVhsv(125, 71%, 67%)
CMYKcmyk(71.2%, 0%, 65.3%, 33.3%)
CIE-LABlab(61.41, -55.13, 46.32)
CIE-LCHlch(61.41, 72.01, 139.96°)
OKLaboklab(64.91% -0.1492 0.1075)
OKLCHoklch(64.91% 0.184 144.2)
XYZxyz(16.4297, 29.7164, 9.0068)
Luminance0.2972 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AA3B #AA31A0
analogous
#63AA31 #31AA3B #31AA78
triadic
#31AA3B #3B31AA #AA3B31
tetradic
#31AA3B #3163AA #AA31A0 #AA7831
square
#31AA3B #3163AA #AA31A0 #AA7831
split-complementary
#31AA3B #7831AA #AA3163
monochromatic
#164B1A #237A2B #31AA3B #4DCC57 #7CD984

Accessibility & contrast

On white

3.02
#31AA3B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#31AA3B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31AA3B
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AA3B#FFFFFF#000000##000000
##31AA3B1.003.026.946.94
#FFFFFF3.021.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9A2D
Deuteranopia (green-blind)
#9F9045
Tritanopia (blue-blind)
#00A593
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #31aa3b;
/* rgb */ color: rgb(49, 170, 59);
/* oklch */ color: oklch(64.9% 0.184 144.2);
Tailwind
colors: {
  custom: {
    50: '#7bc476',
    500: '#31aa3b',
    950: '#000000',
  },
}
SCSS
$custom: #31aa3b;
$custom-light: #7bc476;
$custom-dark: #000000;
JSON
{
  "hex": "#31aa3b",
  "rgb": {
    "r": 49,
    "g": 170,
    "b": 59
  },
  "hsl": {
    "h": 124.959,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.64907,
    "c": 0.18391,
    "h": 144.2
  },
  "luminance": 0.29718
}

Semantic roles & 50–950 ramp

primary
#31AA3B
secondary
#C275BC
accent
#49D2DF
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #31AA3B

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

Preview Lab → · Contrast checker → · Palette generator →

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