#31B22D#31B22D

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

Color values

HEX#31B22D
RGBrgb(49, 178, 45)
HSLhsl(118, 60%, 44%)
HSVhsv(118, 75%, 70%)
CMYKcmyk(72.5%, 0%, 74.7%, 30.2%)
CIE-LABlab(63.90, -59.09, 54.49)
CIE-LCHlch(63.90, 80.38, 137.32°)
OKLaboklab(66.94% -0.1606 0.123)
OKLCHoklch(66.94% 0.202 142.6)
XYZxyz(17.6596, 32.6812, 7.8595)
Luminance0.3268 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B22D #AE2DB2
analogous
#73B22D #31B22D #2DB26B
triadic
#31B22D #2D31B2 #B22D31
tetradic
#31B22D #2D73B2 #AE2DB2 #B26B2D
square
#31B22D #2D73B2 #AE2DB2 #B26B2D
split-complementary
#31B22D #6B2DB2 #B22D73
monochromatic
#165014 #248121 #31B22D #4FD14B #7FDE7C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B22D#FFFFFF#000000##000000
##31B22D1.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)
#B6A112
Deuteranopia (green-blind)
#A7973B
Tritanopia (blue-blind)
#00AD98
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #31b22d;
/* rgb */ color: rgb(49, 178, 45);
/* oklch */ color: oklch(66.9% 0.202 142.6);
Tailwind
colors: {
  custom: {
    50: '#7dca6f',
    500: '#31b22d',
    950: '#000000',
  },
}
SCSS
$custom: #31b22d;
$custom-light: #7dca6f;
$custom-dark: #000000;
JSON
{
  "hex": "#31b22d",
  "rgb": {
    "r": 49,
    "g": 178,
    "b": 45
  },
  "hsl": {
    "h": 118.195,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.66941,
    "c": 0.20229,
    "h": 142.6
  },
  "luminance": 0.32683
}

Semantic roles & 50–950 ramp

primary
#31B22D
secondary
#C475C6
accent
#45E3DE
background
#F8FCF7
surface
#EFF9ED
border
#CAD2C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #31B22D

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

Preview Lab → · Contrast checker → · Palette generator →

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