#31B32F#31B32F

#31B32F is a light, highly saturated green. Relative luminance 0.331; OKLCH L 67.2% C 0.202 H 142.7°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#31B32F
RGBrgb(49, 179, 47)
HSLhsl(119, 58%, 44%)
HSVhsv(119, 74%, 70%)
CMYKcmyk(72.6%, 0%, 73.7%, 29.8%)
CIE-LABlab(64.24, -59.27, 54.11)
CIE-LCHlch(64.24, 80.25, 137.60°)
OKLaboklab(67.22% -0.161 0.1225)
OKLCHoklch(67.22% 0.202 142.7)
XYZxyz(17.8987, 33.0964, 8.1337)
Luminance0.3310 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B32F #B12FB3
analogous
#73B32F #31B32F #2FB36F
triadic
#31B32F #2F31B3 #B32F31
tetradic
#31B32F #2F73B3 #B12FB3 #B36F2F
square
#31B32F #2F73B3 #B12FB3 #B36F2F
split-complementary
#31B32F #6F2FB3 #B32F73
monochromatic
#165216 #248322 #31B32F #51D14F #80DD7F

Accessibility & contrast

On white

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

On black

7.62
#31B32F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B32F
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B32F#FFFFFF#000000##000000
##31B32F1.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A216
Deuteranopia (green-blind)
#A8983D
Tritanopia (blue-blind)
#00AE99
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #31b32f;
/* rgb */ color: rgb(49, 179, 47);
/* oklch */ color: oklch(67.2% 0.202 142.7);
Tailwind
colors: {
  custom: {
    50: '#7dcb70',
    500: '#31b32f',
    950: '#000000',
  },
}
SCSS
$custom: #31b32f;
$custom-light: #7dcb70;
$custom-dark: #000000;
JSON
{
  "hex": "#31b32f",
  "rgb": {
    "r": 49,
    "g": 179,
    "b": 47
  },
  "hsl": {
    "h": 119.091,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.67225,
    "c": 0.20226,
    "h": 142.7
  },
  "luminance": 0.33098
}

Semantic roles & 50–950 ramp

primary
#31B32F
secondary
#C578C6
accent
#46E2DF
background
#F8FCF7
surface
#EFF9ED
border
#CAD2C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #31B32F

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

Preview Lab → · Contrast checker → · Palette generator →

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