#31A92B#31A92B

#31A92B is a light, vivid green. Relative luminance 0.292; OKLCH L 64.5% C 0.193 H 142.4°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#31A92B
RGBrgb(49, 169, 43)
HSLhsl(117, 59%, 42%)
HSVhsv(117, 75%, 66%)
CMYKcmyk(71%, 0%, 74.6%, 33.7%)
CIE-LABlab(60.96, -56.28, 52.25)
CIE-LCHlch(60.96, 76.79, 137.13°)
OKLaboklab(64.5% -0.1531 0.118)
OKLCHoklch(64.5% 0.193 142.4)
XYZxyz(15.8897, 29.2016, 7.0841)
Luminance0.2920 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A92B #A32BA9
analogous
#70A92B #31A92B #2BA964
triadic
#31A92B #2B31A9 #A92B31
tetradic
#31A92B #2B70A9 #A32BA9 #A9642B
square
#31A92B #2B70A9 #A32BA9 #A9642B
split-complementary
#31A92B #642BA9 #A92B70
monochromatic
#154712 #23781F #31A92B #49CF42 #78DB73

Accessibility & contrast

On white

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

On black

6.84
#31A92B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A92B
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A92B#FFFFFF#000000##000000
##31A92B1.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9912
Deuteranopia (green-blind)
#9F8F38
Tritanopia (blue-blind)
#0CA491
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #31a92b;
/* rgb */ color: rgb(49, 169, 43);
/* oklch */ color: oklch(64.5% 0.193 142.4);
Tailwind
colors: {
  custom: {
    50: '#7bc46d',
    500: '#31a92b',
    950: '#000000',
  },
}
SCSS
$custom: #31a92b;
$custom-light: #7bc46d;
$custom-dark: #000000;
JSON
{
  "hex": "#31a92b",
  "rgb": {
    "r": 49,
    "g": 169,
    "b": 43
  },
  "hsl": {
    "h": 117.143,
    "s": 59.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.64495,
    "c": 0.19331,
    "h": 142.4
  },
  "luminance": 0.29203
}

Semantic roles & 50–950 ramp

primary
#31A92B
secondary
#BF6DC3
accent
#45E3DB
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #31A92B

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

Preview Lab → · Contrast checker → · Palette generator →

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