#31A93B#31A93B

#31A93B is a light, vivid green. Relative luminance 0.293; OKLCH L 64.6% C 0.183 H 144.2°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#31A93B
RGBrgb(49, 169, 59)
HSLhsl(125, 55%, 43%)
HSVhsv(125, 71%, 66%)
CMYKcmyk(71%, 0%, 65.1%, 33.7%)
CIE-LABlab(61.08, -54.79, 45.96)
CIE-LCHlch(61.08, 71.51, 140.01°)
OKLaboklab(64.64% -0.1483 0.1068)
OKLCHoklch(64.64% 0.183 144.2)
XYZxyz(16.2430, 29.3429, 8.9445)
Luminance0.2934 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A93B #A9319F
analogous
#63A931 #31A93B #31A977
triadic
#31A93B #3B31A9 #A93B31
tetradic
#31A93B #3163A9 #A9319F #A97731
square
#31A93B #3163A9 #A9319F #A97731
split-complementary
#31A93B #7731A9 #A93163
monochromatic
#154A1A #237A2A #31A93B #4CCB57 #7CD983

Accessibility & contrast

On white

3.06
#31A93B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#31A93B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A93B
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A93B#FFFFFF#000000##000000
##31A93B1.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC992E
Deuteranopia (green-blind)
#9E9045
Tritanopia (blue-blind)
#01A492
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #31a93b;
/* rgb */ color: rgb(49, 169, 59);
/* oklch */ color: oklch(64.6% 0.183 144.2);
Tailwind
colors: {
  custom: {
    50: '#7bc476',
    500: '#31a93b',
    950: '#000000',
  },
}
SCSS
$custom: #31a93b;
$custom-light: #7bc476;
$custom-dark: #000000;
JSON
{
  "hex": "#31a93b",
  "rgb": {
    "r": 49,
    "g": 169,
    "b": 59
  },
  "hsl": {
    "h": 125,
    "s": 55.046,
    "l": 42.745
  },
  "oklch": {
    "l": 0.64637,
    "c": 0.18271,
    "h": 144.2
  },
  "luminance": 0.29345
}

Semantic roles & 50–950 ramp

primary
#31A93B
secondary
#C174BB
accent
#49D2DE
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #31A93B

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

Preview Lab → · Contrast checker → · Palette generator →

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