#31B22F#31B22F

#31B22F is a light, highly saturated green. Relative luminance 0.327; OKLCH L 67.0% C 0.201 H 142.7°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#31B22F
RGBrgb(49, 178, 47)
HSLhsl(119, 58%, 44%)
HSVhsv(119, 74%, 70%)
CMYKcmyk(72.5%, 0%, 73.6%, 30.2%)
CIE-LABlab(63.91, -58.94, 53.78)
CIE-LCHlch(63.91, 79.79, 137.62°)
OKLaboklab(66.96% -0.1601 0.1218)
OKLCHoklch(66.96% 0.201 142.7)
XYZxyz(17.6990, 32.6970, 8.0672)
Luminance0.3270 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B22F #B02FB2
analogous
#73B22F #31B22F #2FB26F
triadic
#31B22F #2F31B2 #B22F31
tetradic
#31B22F #2F73B2 #B02FB2 #B26F2F
square
#31B22F #2F73B2 #B02FB2 #B26F2F
split-complementary
#31B22F #6F2FB2 #B22F73
monochromatic
#165115 #248222 #31B22F #50D04E #80DD7E

Accessibility & contrast

On white

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

On black

7.54
#31B22F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B22F
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B22F#FFFFFF#000000##000000
##31B22F1.002.797.547.54
#FFFFFF2.791.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A117
Deuteranopia (green-blind)
#A7973D
Tritanopia (blue-blind)
#00AD99
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #31b22f;
/* rgb */ color: rgb(49, 178, 47);
/* oklch */ color: oklch(67.0% 0.201 142.7);
Tailwind
colors: {
  custom: {
    50: '#7dca70',
    500: '#31b22f',
    950: '#000000',
  },
}
SCSS
$custom: #31b22f;
$custom-light: #7dca70;
$custom-dark: #000000;
JSON
{
  "hex": "#31b22f",
  "rgb": {
    "r": 49,
    "g": 178,
    "b": 47
  },
  "hsl": {
    "h": 119.084,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.66956,
    "c": 0.20115,
    "h": 142.7
  },
  "luminance": 0.32699
}

Semantic roles & 50–950 ramp

primary
#31B22F
secondary
#C577C6
accent
#46E1DF
background
#F8FCF7
surface
#EFF9ED
border
#CAD2C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #31B22F

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

Preview Lab → · Contrast checker → · Palette generator →

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