#31AA3A#31AA3A

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

Color values

HEX#31AA3A
RGBrgb(49, 170, 58)
HSLhsl(124, 55%, 43%)
HSVhsv(124, 71%, 67%)
CMYKcmyk(71.2%, 0%, 65.9%, 33.3%)
CIE-LABlab(61.40, -55.24, 46.74)
CIE-LCHlch(61.40, 72.36, 139.76°)
OKLaboklab(64.9% -0.1495 0.1083)
OKLCHoklch(64.9% 0.185 144.1)
XYZxyz(16.4040, 29.7061, 8.8715)
Luminance0.2971 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AA3A #AA31A1
analogous
#64AA31 #31AA3A #31AA76
triadic
#31AA3A #3A31AA #AA3A31
tetradic
#31AA3A #3164AA #AA31A1 #AA7631
square
#31AA3A #3164AA #AA31A1 #AA7631
split-complementary
#31AA3A #7631AA #AA3164
monochromatic
#164B1A #237A2A #31AA3A #4DCC56 #7CD983

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31AA3A#FFFFFF#000000##000000
##31AA3A1.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31aa3a;
/* rgb */ color: rgb(49, 170, 58);
/* oklch */ color: oklch(64.9% 0.185 144.1);
Tailwind
colors: {
  custom: {
    50: '#7bc475',
    500: '#31aa3a',
    950: '#000000',
  },
}
SCSS
$custom: #31aa3a;
$custom-light: #7bc475;
$custom-dark: #000000;
JSON
{
  "hex": "#31aa3a",
  "rgb": {
    "r": 49,
    "g": 170,
    "b": 58
  },
  "hsl": {
    "h": 124.463,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.64897,
    "c": 0.18465,
    "h": 144.1
  },
  "luminance": 0.29708
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31AA3A

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

Preview Lab → · Contrast checker → · Palette generator →

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