#31AA2E#31AA2E

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

Color values

HEX#31AA2E
RGBrgb(49, 170, 46)
HSLhsl(119, 57%, 42%)
HSVhsv(119, 73%, 67%)
CMYKcmyk(71.2%, 0%, 72.9%, 33.3%)
CIE-LABlab(61.31, -56.37, 51.50)
CIE-LCHlch(61.31, 76.35, 137.59°)
OKLaboklab(64.79% -0.1532 0.1169)
OKLCHoklch(64.79% 0.193 142.7)
XYZxyz(16.1335, 29.5979, 7.4470)
Luminance0.2960 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AA2E #A72EAA
analogous
#6FAA2E #31AA2E #2EAA69
triadic
#31AA2E #2E31AA #AA2E31
tetradic
#31AA2E #2E6FAA #A72EAA #AA692E
square
#31AA2E #2E6FAA #A72EAA #AA692E
split-complementary
#31AA2E #692EAA #AA2E6F
monochromatic
#154A14 #237A21 #31AA2E #4BCD48 #7ADA78

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31AA2E#FFFFFF#000000##000000
##31AA2E1.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)
#AE9A18
Deuteranopia (green-blind)
#A0903B
Tritanopia (blue-blind)
#09A592
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #31aa2e;
/* rgb */ color: rgb(49, 170, 46);
/* oklch */ color: oklch(64.8% 0.193 142.7);
Tailwind
colors: {
  custom: {
    50: '#7bc46e',
    500: '#31aa2e',
    950: '#000000',
  },
}
SCSS
$custom: #31aa2e;
$custom-light: #7bc46e;
$custom-dark: #000000;
JSON
{
  "hex": "#31aa2e",
  "rgb": {
    "r": 49,
    "g": 170,
    "b": 46
  },
  "hsl": {
    "h": 118.548,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.64789,
    "c": 0.19268,
    "h": 142.7
  },
  "luminance": 0.296
}

Semantic roles & 50–950 ramp

primary
#31AA2E
secondary
#C171C3
accent
#47E1DD
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #31AA2E

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

Preview Lab → · Contrast checker → · Palette generator →

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