#31A232#31A232

#31A232 is a light, vivid green. Relative luminance 0.267; OKLCH L 62.7% C 0.181 H 143.2°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#31A232
RGBrgb(49, 162, 50)
HSLhsl(121, 54%, 41%)
HSVhsv(121, 70%, 64%)
CMYKcmyk(69.8%, 0%, 69.1%, 36.5%)
CIE-LABlab(58.72, -53.29, 47.21)
CIE-LCHlch(58.72, 71.20, 138.46°)
OKLaboklab(62.65% -0.1446 0.1084)
OKLCHoklch(62.65% 0.181 143.2)
XYZxyz(14.7618, 26.7223, 7.3970)
Luminance0.2672 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A232 #A231A1
analogous
#69A231 #31A232 #31A26B
triadic
#31A232 #3231A2 #A23231
tetradic
#31A232 #3169A2 #A231A1 #A26B31
square
#31A232 #3169A2 #A231A1 #A26B31
split-complementary
#31A232 #6B31A2 #A23169
monochromatic
#154415 #237323 #31A232 #48C84A #77D678

Accessibility & contrast

On white

3.31
#31A232 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#31A232 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A232
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A232#FFFFFF#000000##000000
##31A2321.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59322
Deuteranopia (green-blind)
#988A3D
Tritanopia (blue-blind)
#109D8B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #31a232;
/* rgb */ color: rgb(49, 162, 50);
/* oklch */ color: oklch(62.7% 0.181 143.2);
Tailwind
colors: {
  custom: {
    50: '#79bf70',
    500: '#31a232',
    950: '#000000',
  },
}
SCSS
$custom: #31a232;
$custom-light: #79bf70;
$custom-dark: #000000;
JSON
{
  "hex": "#31a232",
  "rgb": {
    "r": 49,
    "g": 162,
    "b": 50
  },
  "hsl": {
    "h": 120.531,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.62651,
    "c": 0.18075,
    "h": 143.2
  },
  "luminance": 0.26724
}

Semantic roles & 50–950 ramp

primary
#31A232
secondary
#BE71BE
accent
#4BDCDD
background
#F8FBF7
surface
#EFF7ED
border
#CAD0C8
text
#0A1208
muted
#7C817B

Preview Lab

Preview with #31A232

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

Preview Lab → · Contrast checker → · Palette generator →

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