#31AA2F#31AA2F

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

Color values

HEX#31AA2F
RGBrgb(49, 170, 47)
HSLhsl(119, 57%, 43%)
HSVhsv(119, 72%, 67%)
CMYKcmyk(71.2%, 0%, 72.4%, 33.3%)
CIE-LABlab(61.31, -56.29, 51.12)
CIE-LCHlch(61.31, 76.04, 137.75°)
OKLaboklab(64.8% -0.1529 0.1162)
OKLCHoklch(64.8% 0.192 142.8)
XYZxyz(16.1535, 29.6059, 7.5520)
Luminance0.2961 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AA2F #A82FAA
analogous
#6FAA2F #31AA2F #2FAA6A
triadic
#31AA2F #2F31AA #AA2F31
tetradic
#31AA2F #2F6FAA #A82FAA #AA6A2F
square
#31AA2F #2F6FAA #A82FAA #AA6A2F
split-complementary
#31AA2F #6A2FAA #AA2F6F
monochromatic
#154A14 #237A22 #31AA2F #4CCD49 #7BDA79

Accessibility & contrast

On white

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

On black

6.92
#31AA2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31AA2F
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AA2F#FFFFFF#000000##000000
##31AA2F1.003.036.926.92
#FFFFFF3.031.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A1A
Deuteranopia (green-blind)
#A0903B
Tritanopia (blue-blind)
#09A592
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #31aa2f;
/* rgb */ color: rgb(49, 170, 47);
/* oklch */ color: oklch(64.8% 0.192 142.8);
Tailwind
colors: {
  custom: {
    50: '#7bc46f',
    500: '#31aa2f',
    950: '#000000',
  },
}
SCSS
$custom: #31aa2f;
$custom-light: #7bc46f;
$custom-dark: #000000;
JSON
{
  "hex": "#31aa2f",
  "rgb": {
    "r": 49,
    "g": 170,
    "b": 47
  },
  "hsl": {
    "h": 119.024,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.64797,
    "c": 0.19206,
    "h": 142.8
  },
  "luminance": 0.29608
}

Semantic roles & 50–950 ramp

primary
#31AA2F
secondary
#C172C2
accent
#48E0DD
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #31AA2F

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

Preview Lab → · Contrast checker → · Palette generator →

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