#31B935#31B935

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

Color values

HEX#31B935
RGBrgb(49, 185, 53)
HSLhsl(122, 58%, 46%)
HSVhsv(122, 74%, 73%)
CMYKcmyk(73.5%, 0%, 71.4%, 27.5%)
CIE-LABlab(66.22, -60.72, 53.91)
CIE-LCHlch(66.22, 81.20, 138.40°)
OKLaboklab(68.88% -0.1646 0.1228)
OKLCHoklch(68.88% 0.205 143.3)
XYZxyz(19.2570, 35.6057, 9.2252)
Luminance0.3561 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B935 #B931B5
analogous
#71B931 #31B935 #31B979
triadic
#31B935 #3531B9 #B93531
tetradic
#31B935 #3171B9 #B931B5 #B97931
square
#31B935 #3171B9 #B931B5 #B97931
split-complementary
#31B935 #7931B9 #B93171
monochromatic
#175819 #248927 #31B935 #55D259 #86DF88

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B935#FFFFFF#000000##000000
##31B9351.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)
#BDA71F
Deuteranopia (green-blind)
#AE9D42
Tritanopia (blue-blind)
#00B49F
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #31b935;
/* rgb */ color: rgb(49, 185, 53);
/* oklch */ color: oklch(68.9% 0.205 143.3);
Tailwind
colors: {
  custom: {
    50: '#7ecf74',
    500: '#31b935',
    950: '#000000',
  },
}
SCSS
$custom: #31b935;
$custom-light: #7ecf74;
$custom-dark: #000000;
JSON
{
  "hex": "#31b935",
  "rgb": {
    "r": 49,
    "g": 185,
    "b": 53
  },
  "hsl": {
    "h": 121.765,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.68881,
    "c": 0.20541,
    "h": 143.3
  },
  "luminance": 0.35608
}

Semantic roles & 50–950 ramp

primary
#31B935
secondary
#C87DC6
accent
#46DDE1
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1409
muted
#7D827B

Preview Lab

Preview with #31B935

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

Preview Lab → · Contrast checker → · Palette generator →

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