#31A73B#31A73B

#31A73B is a light, vivid green. Relative luminance 0.286; OKLCH L 64.1% C 0.180 H 144.3°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#31A73B
RGBrgb(49, 167, 59)
HSLhsl(125, 55%, 42%)
HSVhsv(125, 71%, 65%)
CMYKcmyk(70.7%, 0%, 64.7%, 34.5%)
CIE-LABlab(60.43, -54.09, 45.24)
CIE-LCHlch(60.43, 70.52, 140.10°)
OKLaboklab(64.1% -0.1464 0.1052)
OKLCHoklch(64.1% 0.18 144.3)
XYZxyz(15.8737, 28.6044, 8.8215)
Luminance0.2861 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A73B #A7319D
analogous
#62A731 #31A73B #31A776
triadic
#31A73B #3B31A7 #A73B31
tetradic
#31A73B #3162A7 #A7319D #A77631
square
#31A73B #3162A7 #A7319D #A77631
split-complementary
#31A73B #7631A7 #A73162
monochromatic
#15481A #23782A #31A73B #4BCA56 #7AD882

Accessibility & contrast

On white

3.12
#31A73B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#31A73B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A73B
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A73B#FFFFFF#000000##000000
##31A73B1.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA972E
Deuteranopia (green-blind)
#9C8E44
Tritanopia (blue-blind)
#04A290
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #31a73b;
/* rgb */ color: rgb(49, 167, 59);
/* oklch */ color: oklch(64.1% 0.180 144.3);
Tailwind
colors: {
  custom: {
    50: '#7ac275',
    500: '#31a73b',
    950: '#000000',
  },
}
SCSS
$custom: #31a73b;
$custom-light: #7ac275;
$custom-dark: #000000;
JSON
{
  "hex": "#31a73b",
  "rgb": {
    "r": 49,
    "g": 167,
    "b": 59
  },
  "hsl": {
    "h": 125.085,
    "s": 54.63,
    "l": 42.353
  },
  "oklch": {
    "l": 0.64097,
    "c": 0.18029,
    "h": 144.3
  },
  "luminance": 0.28606
}

Semantic roles & 50–950 ramp

primary
#31A73B
secondary
#C173BA
accent
#4AD1DE
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1209
muted
#7C817B

Preview Lab

Preview with #31A73B

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

Preview Lab → · Contrast checker → · Palette generator →

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