#31B236#31B236

#31B236 is a light, vivid green. Relative luminance 0.328; OKLCH L 67.0% C 0.197 H 143.5°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#31B236
RGBrgb(49, 178, 54)
HSLhsl(122, 57%, 45%)
HSVhsv(122, 72%, 70%)
CMYKcmyk(72.5%, 0%, 69.7%, 30.2%)
CIE-LABlab(63.96, -58.33, 51.17)
CIE-LCHlch(63.96, 77.59, 138.75°)
OKLaboklab(67.01% -0.1581 0.1172)
OKLCHoklch(67.01% 0.197 143.5)
XYZxyz(17.8518, 32.7581, 8.8714)
Luminance0.3276 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B236 #B231AD
analogous
#6CB231 #31B236 #31B277
triadic
#31B236 #3631B2 #B23631
tetradic
#31B236 #316CB2 #B231AD #B27731
square
#31B236 #316CB2 #B231AD #B27731
split-complementary
#31B236 #7731B2 #B2316C
monochromatic
#175219 #248227 #31B236 #51CF56 #81DC85

Accessibility & contrast

On white

2.78
#31B236 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#31B236 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B236
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B236#FFFFFF#000000##000000
##31B2361.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A124
Deuteranopia (green-blind)
#A79742
Tritanopia (blue-blind)
#00AD99
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #31b236;
/* rgb */ color: rgb(49, 178, 54);
/* oklch */ color: oklch(67.0% 0.197 143.5);
Tailwind
colors: {
  custom: {
    50: '#7dca74',
    500: '#31b236',
    950: '#000000',
  },
}
SCSS
$custom: #31b236;
$custom-light: #7dca74;
$custom-dark: #000000;
JSON
{
  "hex": "#31b236",
  "rgb": {
    "r": 49,
    "g": 178,
    "b": 54
  },
  "hsl": {
    "h": 122.326,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.67013,
    "c": 0.19681,
    "h": 143.5
  },
  "luminance": 0.3276
}

Semantic roles & 50–950 ramp

primary
#31B236
secondary
#C579C2
accent
#48DAE0
background
#F8FCF7
surface
#EFF9ED
border
#CAD2C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #31B236

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

Preview Lab → · Contrast checker → · Palette generator →

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