#31B239#31B239

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

Color values

HEX#31B239
RGBrgb(49, 178, 57)
HSLhsl(124, 57%, 45%)
HSVhsv(124, 72%, 70%)
CMYKcmyk(72.5%, 0%, 68%, 30.2%)
CIE-LABlab(63.99, -58.05, 49.98)
CIE-LCHlch(63.99, 76.60, 139.27°)
OKLaboklab(67.04% -0.1572 0.115)
OKLCHoklch(67.04% 0.195 143.8)
XYZxyz(17.9244, 32.7872, 9.2540)
Luminance0.3279 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B239 #B231AA
analogous
#6AB231 #31B239 #31B27A
triadic
#31B239 #3931B2 #B23931
tetradic
#31B239 #316AB2 #B231AA #B27A31
square
#31B239 #316AB2 #B231AA #B27A31
split-complementary
#31B239 #7A31B2 #B2316A
monochromatic
#17521A #24822A #31B239 #51CF59 #81DC87

Accessibility & contrast

On white

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

On black

7.56
#31B239 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B239
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B239#FFFFFF#000000##000000
##31B2391.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31b239;
/* rgb */ color: rgb(49, 178, 57);
/* oklch */ color: oklch(67.0% 0.195 143.8);
Tailwind
colors: {
  custom: {
    50: '#7dca75',
    500: '#31b239',
    950: '#000000',
  },
}
SCSS
$custom: #31b239;
$custom-light: #7dca75;
$custom-dark: #000000;
JSON
{
  "hex": "#31b239",
  "rgb": {
    "r": 49,
    "g": 178,
    "b": 57
  },
  "hsl": {
    "h": 123.721,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.6704,
    "c": 0.1948,
    "h": 143.8
  },
  "luminance": 0.32789
}

Semantic roles & 50–950 ramp

primary
#31B239
secondary
#C579C1
accent
#48D7E0
background
#F8FCF7
surface
#EFF9ED
border
#CAD2C8
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #31B239

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

Preview Lab → · Contrast checker → · Palette generator →

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