#31B237#31B237

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

Color values

HEX#31B237
RGBrgb(49, 178, 55)
HSLhsl(123, 57%, 45%)
HSVhsv(123, 72%, 70%)
CMYKcmyk(72.5%, 0%, 69.1%, 30.2%)
CIE-LABlab(63.97, -58.24, 50.77)
CIE-LCHlch(63.97, 77.26, 138.92°)
OKLaboklab(67.02% -0.1578 0.1165)
OKLCHoklch(67.02% 0.196 143.6)
XYZxyz(17.8755, 32.7676, 8.9964)
Luminance0.3277 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B237 #B231AC
analogous
#6BB231 #31B237 #31B278
triadic
#31B237 #3731B2 #B23731
tetradic
#31B237 #316BB2 #B231AC #B27831
square
#31B237 #316BB2 #B231AC #B27831
split-complementary
#31B237 #7831B2 #B2316B
monochromatic
#175219 #248228 #31B237 #51CF57 #81DC85

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B237#FFFFFF#000000##000000
##31B2371.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)
#B6A125
Deuteranopia (green-blind)
#A79743
Tritanopia (blue-blind)
#00AD99
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #31b237;
/* rgb */ color: rgb(49, 178, 55);
/* oklch */ color: oklch(67.0% 0.196 143.6);
Tailwind
colors: {
  custom: {
    50: '#7dca74',
    500: '#31b237',
    950: '#000000',
  },
}
SCSS
$custom: #31b237;
$custom-light: #7dca74;
$custom-dark: #000000;
JSON
{
  "hex": "#31b237",
  "rgb": {
    "r": 49,
    "g": 178,
    "b": 55
  },
  "hsl": {
    "h": 122.791,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.67022,
    "c": 0.19615,
    "h": 143.6
  },
  "luminance": 0.3277
}

Semantic roles & 50–950 ramp

primary
#31B237
secondary
#C579C2
accent
#48D9E0
background
#F8FCF7
surface
#EFF9ED
border
#CAD2C8
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #31B237

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

Preview Lab → · Contrast checker → · Palette generator →

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