#31A33B#31A33B

#31A33B is a light, vivid green. Relative luminance 0.272; OKLCH L 63.0% C 0.175 H 144.4°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#31A33B
RGBrgb(49, 163, 59)
HSLhsl(125, 54%, 42%)
HSVhsv(125, 70%, 64%)
CMYKcmyk(69.9%, 0%, 63.8%, 36.1%)
CIE-LABlab(59.12, -52.70, 43.78)
CIE-LCHlch(59.12, 68.51, 140.28°)
OKLaboklab(63.01% -0.1426 0.1021)
OKLCHoklch(63.01% 0.175 144.4)
XYZxyz(15.1523, 27.1615, 8.5810)
Luminance0.2716 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A33B #A33199
analogous
#60A331 #31A33B #31A374
triadic
#31A33B #3B31A3 #A33B31
tetradic
#31A33B #3160A3 #A33199 #A37431
square
#31A33B #3160A3 #A33199 #A37431
split-complementary
#31A33B #7431A3 #A33160
monochromatic
#154519 #23742A #31A33B #49C854 #78D680

Accessibility & contrast

On white

3.26
#31A33B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#31A33B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A33B
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A33B#FFFFFF#000000##000000
##31A33B1.003.266.436.43
#FFFFFF3.261.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6942F
Deuteranopia (green-blind)
#998B44
Tritanopia (blue-blind)
#099F8D
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #31a33b;
/* rgb */ color: rgb(49, 163, 59);
/* oklch */ color: oklch(63.0% 0.175 144.4);
Tailwind
colors: {
  custom: {
    50: '#79bf75',
    500: '#31a33b',
    950: '#000000',
  },
}
SCSS
$custom: #31a33b;
$custom-light: #79bf75;
$custom-dark: #000000;
JSON
{
  "hex": "#31a33b",
  "rgb": {
    "r": 49,
    "g": 163,
    "b": 59
  },
  "hsl": {
    "h": 125.263,
    "s": 53.774,
    "l": 41.569
  },
  "oklch": {
    "l": 0.63014,
    "c": 0.17539,
    "h": 144.4
  },
  "luminance": 0.27163
}

Semantic roles & 50–950 ramp

primary
#31A33B
secondary
#BF71B8
accent
#4BD0DD
background
#F7FBF7
surface
#EEF7ED
border
#C9D0C8
text
#0A1209
muted
#7C817B

Preview Lab

Preview with #31A33B

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

Preview Lab → · Contrast checker → · Palette generator →

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