#31AA27#31AA27

#31AA27 is a light, vivid green. Relative luminance 0.295; OKLCH L 64.7% C 0.197 H 142.0°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#31AA27
RGBrgb(49, 170, 39)
HSLhsl(115, 63%, 41%)
HSVhsv(115, 77%, 67%)
CMYKcmyk(71.2%, 0%, 77.1%, 33.3%)
CIE-LABlab(61.26, -56.91, 53.94)
CIE-LCHlch(61.26, 78.41, 136.53°)
OKLaboklab(64.74% -0.155 0.121)
OKLCHoklch(64.74% 0.197 142)
XYZxyz(16.0066, 29.5472, 6.7787)
Luminance0.2955 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AA27 #A027AA
analogous
#72AA27 #31AA27 #27AA5E
triadic
#31AA27 #2731AA #AA2731
tetradic
#31AA27 #2772AA #A027AA #AA5E27
square
#31AA27 #2772AA #A027AA #AA5E27
split-complementary
#31AA27 #5E27AA #AA2772
monochromatic
#144610 #23781C #31AA27 #47D23C #76DE6E

Accessibility & contrast

On white

3.04
#31AA27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#31AA27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31AA27
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AA27#FFFFFF#000000##000000
##31AA271.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A06
Deuteranopia (green-blind)
#A09036
Tritanopia (blue-blind)
#0DA591
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #31aa27;
/* rgb */ color: rgb(49, 170, 39);
/* oklch */ color: oklch(64.7% 0.197 142.0);
Tailwind
colors: {
  custom: {
    50: '#7cc46b',
    500: '#31aa27',
    950: '#000000',
  },
}
SCSS
$custom: #31aa27;
$custom-light: #7cc46b;
$custom-dark: #000000;
JSON
{
  "hex": "#31aa27",
  "rgb": {
    "r": 49,
    "g": 170,
    "b": 39
  },
  "hsl": {
    "h": 115.42,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.64738,
    "c": 0.19665,
    "h": 142
  },
  "luminance": 0.29549
}

Semantic roles & 50–950 ramp

primary
#31AA27
secondary
#BD69C4
accent
#42E6D9
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #31AA27

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

Preview Lab → · Contrast checker → · Palette generator →

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