#31B22B#31B22B

#31B22B is a light, highly saturated green. Relative luminance 0.327; OKLCH L 66.9% C 0.203 H 142.4°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#31B22B
RGBrgb(49, 178, 43)
HSLhsl(117, 61%, 43%)
HSVhsv(117, 76%, 70%)
CMYKcmyk(72.5%, 0%, 75.8%, 30.2%)
CIE-LABlab(63.89, -59.24, 55.17)
CIE-LCHlch(63.89, 80.96, 137.04°)
OKLaboklab(66.93% -0.1611 0.1241)
OKLCHoklch(66.93% 0.203 142.4)
XYZxyz(17.6220, 32.6662, 7.6615)
Luminance0.3267 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B22B #AC2BB2
analogous
#74B22B #31B22B #2BB268
triadic
#31B22B #2B31B2 #B22B31
tetradic
#31B22B #2B74B2 #AC2BB2 #B2682B
square
#31B22B #2B74B2 #AC2BB2 #B2682B
split-complementary
#31B22B #682BB2 #B22B74
monochromatic
#164F13 #23811F #31B22B #4ED348 #7DDF79

Accessibility & contrast

On white

2.79
#31B22B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#31B22B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B22B
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B22B#FFFFFF#000000##000000
##31B22B1.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A10D
Deuteranopia (green-blind)
#A7973A
Tritanopia (blue-blind)
#00AD98
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #31b22b;
/* rgb */ color: rgb(49, 178, 43);
/* oklch */ color: oklch(66.9% 0.203 142.4);
Tailwind
colors: {
  custom: {
    50: '#7dca6e',
    500: '#31b22b',
    950: '#000000',
  },
}
SCSS
$custom: #31b22b;
$custom-light: #7dca6e;
$custom-dark: #000000;
JSON
{
  "hex": "#31b22b",
  "rgb": {
    "r": 49,
    "g": 178,
    "b": 43
  },
  "hsl": {
    "h": 117.333,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.66927,
    "c": 0.2034,
    "h": 142.4
  },
  "luminance": 0.32668
}

Semantic roles & 50–950 ramp

primary
#31B22B
secondary
#C372C7
accent
#44E4DD
background
#F8FCF6
surface
#EFF9EC
border
#CAD2C7
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #31B22B

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

Preview Lab → · Contrast checker → · Palette generator →

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