#31B933#31B933

#31B933 is a light, highly saturated green. Relative luminance 0.356; OKLCH L 68.9% C 0.207 H 143.1°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#31B933
RGBrgb(49, 185, 51)
HSLhsl(121, 58%, 46%)
HSVhsv(121, 74%, 73%)
CMYKcmyk(73.5%, 0%, 72.4%, 27.5%)
CIE-LABlab(66.20, -60.89, 54.65)
CIE-LCHlch(66.20, 81.82, 138.09°)
OKLaboklab(68.86% -0.1652 0.1241)
OKLCHoklch(68.86% 0.207 143.1)
XYZxyz(19.2119, 35.5877, 8.9879)
Luminance0.3559 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B933 #B931B7
analogous
#73B931 #31B933 #31B977
triadic
#31B933 #3331B9 #B93331
tetradic
#31B933 #3173B9 #B931B7 #B97731
square
#31B933 #3173B9 #B931B7 #B97731
split-complementary
#31B933 #7731B9 #B93173
monochromatic
#175818 #248926 #31B933 #55D257 #86DF87

Accessibility & contrast

On white

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

On black

8.12
#31B933 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B933
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B933#FFFFFF#000000##000000
##31B9331.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA71C
Deuteranopia (green-blind)
#AE9D41
Tritanopia (blue-blind)
#00B49F
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #31b933;
/* rgb */ color: rgb(49, 185, 51);
/* oklch */ color: oklch(68.9% 0.207 143.1);
Tailwind
colors: {
  custom: {
    50: '#7fcf73',
    500: '#31b933',
    950: '#000000',
  },
}
SCSS
$custom: #31b933;
$custom-light: #7fcf73;
$custom-dark: #000000;
JSON
{
  "hex": "#31b933",
  "rgb": {
    "r": 49,
    "g": 185,
    "b": 51
  },
  "hsl": {
    "h": 120.882,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.68865,
    "c": 0.20662,
    "h": 143.1
  },
  "luminance": 0.3559
}

Semantic roles & 50–950 ramp

primary
#31B933
secondary
#C87DC7
accent
#46DFE1
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1408
muted
#7D827B

Preview Lab

Preview with #31B933

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

Preview Lab → · Contrast checker → · Palette generator →

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