#31AA3D#31AA3D

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

Color values

HEX#31AA3D
RGBrgb(49, 170, 61)
HSLhsl(126, 55%, 43%)
HSVhsv(126, 71%, 67%)
CMYKcmyk(71.2%, 0%, 64.1%, 33.3%)
CIE-LABlab(61.43, -54.91, 45.46)
CIE-LCHlch(61.43, 71.29, 140.38°)
OKLaboklab(64.93% -0.1485 0.1059)
OKLCHoklch(64.93% 0.182 144.5)
XYZxyz(16.4826, 29.7375, 9.2852)
Luminance0.2974 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AA3D #AA319E
analogous
#62AA31 #31AA3D #31AA79
triadic
#31AA3D #3D31AA #AA3D31
tetradic
#31AA3D #3162AA #AA319E #AA7931
square
#31AA3D #3162AA #AA319E #AA7931
split-complementary
#31AA3D #7931AA #AA3162
monochromatic
#164B1B #237A2C #31AA3D #4DCC59 #7CD985

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31AA3D#FFFFFF#000000##000000
##31AA3D1.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)
#AD9A30
Deuteranopia (green-blind)
#9F9146
Tritanopia (blue-blind)
#00A593
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #31aa3d;
/* rgb */ color: rgb(49, 170, 61);
/* oklch */ color: oklch(64.9% 0.182 144.5);
Tailwind
colors: {
  custom: {
    50: '#7bc477',
    500: '#31aa3d',
    950: '#000000',
  },
}
SCSS
$custom: #31aa3d;
$custom-light: #7bc477;
$custom-dark: #000000;
JSON
{
  "hex": "#31aa3d",
  "rgb": {
    "r": 49,
    "g": 170,
    "b": 61
  },
  "hsl": {
    "h": 125.95,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.64928,
    "c": 0.18241,
    "h": 144.5
  },
  "luminance": 0.29739
}

Semantic roles & 50–950 ramp

primary
#31AA3D
secondary
#C275BA
accent
#49D0DF
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #31AA3D

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

Preview Lab → · Contrast checker → · Palette generator →

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