#31B31E#31B31E

#31B31E is a light, highly saturated green. Relative luminance 0.330; OKLCH L 67.1% C 0.211 H 141.5°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#31B31E
RGBrgb(49, 179, 30)
HSLhsl(112, 71%, 41%)
HSVhsv(112, 83%, 70%)
CMYKcmyk(72.6%, 0%, 83.2%, 29.8%)
CIE-LABlab(64.15, -60.37, 59.36)
CIE-LCHlch(64.15, 84.67, 135.48°)
OKLaboklab(67.12% -0.1647 0.1311)
OKLCHoklch(67.12% 0.211 141.5)
XYZxyz(17.6201, 32.9849, 6.6662)
Luminance0.3299 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B31E #A01EB3
analogous
#7BB31E #31B31E #1EB355
triadic
#31B31E #1E31B3 #B31E31
tetradic
#31B31E #1E7BB3 #A01EB3 #B3551E
square
#31B31E #1E7BB3 #A01EB3 #B3551E
split-complementary
#31B31E #551EB3 #B31E7B
monochromatic
#144A0C #237F15 #31B31E #47DD32 #76E566

Accessibility & contrast

On white

2.76
#31B31E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#31B31E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B31E
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B31E#FFFFFF#000000##000000
##31B31E1.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#A99832
Tritanopia (blue-blind)
#05AD98
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #31b31e;
/* rgb */ color: rgb(49, 179, 30);
/* oklch */ color: oklch(67.1% 0.211 141.5);
Tailwind
colors: {
  custom: {
    50: '#7ecb68',
    500: '#31b31e',
    950: '#000000',
  },
}
SCSS
$custom: #31b31e;
$custom-light: #7ecb68;
$custom-dark: #000000;
JSON
{
  "hex": "#31b31e",
  "rgb": {
    "r": 49,
    "g": 179,
    "b": 30
  },
  "hsl": {
    "h": 112.349,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.67121,
    "c": 0.21054,
    "h": 141.5
  },
  "luminance": 0.32987
}

Semantic roles & 50–950 ramp

primary
#31B31E
secondary
#BD62CB
accent
#3AEED7
background
#F8FCF6
surface
#F0F9EB
border
#CBD2C6
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #31B31E

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

Preview Lab → · Contrast checker → · Palette generator →

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