#31AA39#31AA39

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

Color values

HEX#31AA39
RGBrgb(49, 170, 57)
HSLhsl(124, 55%, 43%)
HSVhsv(124, 71%, 67%)
CMYKcmyk(71.2%, 0%, 66.5%, 33.3%)
CIE-LABlab(61.39, -55.34, 47.16)
CIE-LCHlch(61.39, 72.71, 139.56°)
OKLaboklab(64.89% -0.1499 0.1091)
OKLCHoklch(64.89% 0.185 143.9)
XYZxyz(16.3788, 29.6960, 8.7388)
Luminance0.2970 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AA39 #AA31A2
analogous
#65AA31 #31AA39 #31AA75
triadic
#31AA39 #3931AA #AA3931
tetradic
#31AA39 #3165AA #AA31A2 #AA7531
square
#31AA39 #3165AA #AA31A2 #AA7531
split-complementary
#31AA39 #7531AA #AA3165
monochromatic
#164B19 #237A29 #31AA39 #4DCC55 #7CD982

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31AA39#FFFFFF#000000##000000
##31AA391.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)
#AD9A2A
Deuteranopia (green-blind)
#9F9043
Tritanopia (blue-blind)
#01A593
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #31aa39;
/* rgb */ color: rgb(49, 170, 57);
/* oklch */ color: oklch(64.9% 0.185 143.9);
Tailwind
colors: {
  custom: {
    50: '#7bc475',
    500: '#31aa39',
    950: '#000000',
  },
}
SCSS
$custom: #31aa39;
$custom-light: #7bc475;
$custom-dark: #000000;
JSON
{
  "hex": "#31aa39",
  "rgb": {
    "r": 49,
    "g": 170,
    "b": 57
  },
  "hsl": {
    "h": 123.967,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.64887,
    "c": 0.18537,
    "h": 143.9
  },
  "luminance": 0.29698
}

Semantic roles & 50–950 ramp

primary
#31AA39
secondary
#C275BD
accent
#49D5DF
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #31AA39

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

Preview Lab → · Contrast checker → · Palette generator →

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