#31A84B#31A84B

#31A84B is a light, vivid green. Relative luminance 0.292; OKLCH L 64.6% C 0.168 H 147.0°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#31A84B
RGBrgb(49, 168, 75)
HSLhsl(133, 55%, 43%)
HSVhsv(133, 71%, 66%)
CMYKcmyk(70.8%, 0%, 55.4%, 34.1%)
CIE-LABlab(60.93, -52.44, 38.33)
CIE-LCHlch(60.93, 64.96, 143.84°)
OKLaboklab(64.56% -0.1413 0.0917)
OKLCHoklch(64.56% 0.168 147)
XYZxyz(16.5381, 29.1644, 11.4130)
Luminance0.2917 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A84B #A8318E
analogous
#53A831 #31A84B #31A886
triadic
#31A84B #4B31A8 #A84B31
tetradic
#31A84B #3153A8 #A8318E #A88631
square
#31A84B #3153A8 #A8318E #A88631
split-complementary
#31A84B #8631A8 #A83153
monochromatic
#154921 #237936 #31A84B #4CCB67 #7BD88F

Accessibility & contrast

On white

3.07
#31A84B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#31A84B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A84B
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A84B#FFFFFF#000000##000000
##31A84B1.003.076.836.83
#FFFFFF3.071.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9942
Deuteranopia (green-blind)
#9C8F52
Tritanopia (blue-blind)
#00A493
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #31a84b;
/* rgb */ color: rgb(49, 168, 75);
/* oklch */ color: oklch(64.6% 0.168 147.0);
Tailwind
colors: {
  custom: {
    50: '#7ac380',
    500: '#31a84b',
    950: '#000000',
  },
}
SCSS
$custom: #31a84b;
$custom-light: #7ac380;
$custom-dark: #000000;
JSON
{
  "hex": "#31a84b",
  "rgb": {
    "r": 49,
    "g": 168,
    "b": 75
  },
  "hsl": {
    "h": 133.109,
    "s": 54.839,
    "l": 42.549
  },
  "oklch": {
    "l": 0.64562,
    "c": 0.16847,
    "h": 147
  },
  "luminance": 0.29166
}

Semantic roles & 50–950 ramp

primary
#31A84B
secondary
#C174B0
accent
#4ABEDE
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0A130A
muted
#7C827C

Preview Lab

Preview with #31A84B

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

Preview Lab → · Contrast checker → · Palette generator →

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