#31B92C#31B92C

#31B92C is a light, highly saturated green. Relative luminance 0.355; OKLCH L 68.8% C 0.211 H 142.5°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#31B92C
RGBrgb(49, 185, 44)
HSLhsl(118, 62%, 45%)
HSVhsv(118, 76%, 73%)
CMYKcmyk(73.5%, 0%, 76.2%, 27.5%)
CIE-LABlab(66.16, -61.43, 57.07)
CIE-LCHlch(66.16, 83.85, 137.10°)
OKLaboklab(68.81% -0.167 0.1282)
OKLCHoklch(68.81% 0.211 142.5)
XYZxyz(19.0691, 35.5306, 8.2355)
Luminance0.3553 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B92C #B42CB9
analogous
#78B92C #31B92C #2CB96D
triadic
#31B92C #2C31B9 #B92C31
tetradic
#31B92C #2C78B9 #B42CB9 #B96D2C
square
#31B92C #2C78B9 #B42CB9 #B96D2C
split-complementary
#31B92C #6D2CB9 #B92C78
monochromatic
#175614 #248820 #31B92C #52D54D #82E17F

Accessibility & contrast

On white

2.59
#31B92C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#31B92C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B92C
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B92C#FFFFFF#000000##000000
##31B92C1.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA70A
Deuteranopia (green-blind)
#AE9D3C
Tritanopia (blue-blind)
#00B39E
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #31b92c;
/* rgb */ color: rgb(49, 185, 44);
/* oklch */ color: oklch(68.8% 0.211 142.5);
Tailwind
colors: {
  custom: {
    50: '#7fcf6f',
    500: '#31b92c',
    950: '#000000',
  },
}
SCSS
$custom: #31b92c;
$custom-light: #7fcf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#31b92c",
  "rgb": {
    "r": 49,
    "g": 185,
    "b": 44
  },
  "hsl": {
    "h": 117.872,
    "s": 61.572,
    "l": 44.902
  },
  "oklch": {
    "l": 0.68814,
    "c": 0.21055,
    "h": 142.5
  },
  "luminance": 0.35533
}

Semantic roles & 50–950 ramp

primary
#31B92C
secondary
#C678C9
accent
#43E5DF
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1408
muted
#7D827B

Preview Lab

Preview with #31B92C

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

Preview Lab → · Contrast checker → · Palette generator →

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