#31AA3F#31AA3F

#31AA3F is a light, vivid green. Relative luminance 0.298; OKLCH L 65.0% C 0.181 H 144.8°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#31AA3F
RGBrgb(49, 170, 63)
HSLhsl(127, 55%, 43%)
HSVhsv(127, 71%, 67%)
CMYKcmyk(71.2%, 0%, 62.9%, 33.3%)
CIE-LABlab(61.45, -54.68, 44.59)
CIE-LCHlch(61.45, 70.56, 140.81°)
OKLaboklab(64.95% -0.1478 0.1043)
OKLCHoklch(64.95% 0.181 144.8)
XYZxyz(16.5375, 29.7595, 9.5743)
Luminance0.2976 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AA3F #AA319C
analogous
#5FAA31 #31AA3F #31AA7B
triadic
#31AA3F #3F31AA #AA3F31
tetradic
#31AA3F #315FAA #AA319C #AA7B31
square
#31AA3F #315FAA #AA319C #AA7B31
split-complementary
#31AA3F #7B31AA #AA315F
monochromatic
#164B1C #237A2D #31AA3F #4DCC5B #7CD987

Accessibility & contrast

On white

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

On black

6.95
#31AA3F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31AA3F
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AA3F#FFFFFF#000000##000000
##31AA3F1.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9A33
Deuteranopia (green-blind)
#9F9148
Tritanopia (blue-blind)
#00A693
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #31aa3f;
/* rgb */ color: rgb(49, 170, 63);
/* oklch */ color: oklch(65.0% 0.181 144.8);
Tailwind
colors: {
  custom: {
    50: '#7bc478',
    500: '#31aa3f',
    950: '#000000',
  },
}
SCSS
$custom: #31aa3f;
$custom-light: #7bc478;
$custom-dark: #000000;
JSON
{
  "hex": "#31aa3f",
  "rgb": {
    "r": 49,
    "g": 170,
    "b": 63
  },
  "hsl": {
    "h": 126.942,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.6495,
    "c": 0.18088,
    "h": 144.8
  },
  "luminance": 0.29761
}

Semantic roles & 50–950 ramp

primary
#31AA3F
secondary
#C275B9
accent
#49CDDF
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #31AA3F

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

Preview Lab → · Contrast checker → · Palette generator →

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