#31B23F#31B23F

#31B23F is a light, vivid green. Relative luminance 0.329; OKLCH L 67.1% C 0.191 H 144.6°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#31B23F
RGBrgb(49, 178, 63)
HSLhsl(127, 57%, 45%)
HSVhsv(127, 72%, 70%)
CMYKcmyk(72.5%, 0%, 64.6%, 30.2%)
CIE-LABlab(64.04, -57.43, 47.50)
CIE-LCHlch(64.04, 74.52, 140.41°)
OKLaboklab(67.1% -0.1552 0.1104)
OKLCHoklch(67.1% 0.191 144.6)
XYZxyz(18.0830, 32.8506, 10.0895)
Luminance0.3285 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B23F #B231A4
analogous
#63B231 #31B23F #31B280
triadic
#31B23F #3F31B2 #B23F31
tetradic
#31B23F #3163B2 #B231A4 #B28031
square
#31B23F #3163B2 #B231A4 #B28031
split-complementary
#31B23F #8031B2 #B23163
monochromatic
#17521D #24822E #31B23F #51CF5F #81DC8B

Accessibility & contrast

On white

2.77
#31B23F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#31B23F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B23F
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B23F#FFFFFF#000000##000000
##31B23F1.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A131
Deuteranopia (green-blind)
#A69749
Tritanopia (blue-blind)
#00AD9A
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #31b23f;
/* rgb */ color: rgb(49, 178, 63);
/* oklch */ color: oklch(67.1% 0.191 144.6);
Tailwind
colors: {
  custom: {
    50: '#7cca79',
    500: '#31b23f',
    950: '#000000',
  },
}
SCSS
$custom: #31b23f;
$custom-light: #7cca79;
$custom-dark: #000000;
JSON
{
  "hex": "#31b23f",
  "rgb": {
    "r": 49,
    "g": 178,
    "b": 63
  },
  "hsl": {
    "h": 126.512,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.671,
    "c": 0.19052,
    "h": 144.6
  },
  "luminance": 0.32853
}

Semantic roles & 50–950 ramp

primary
#31B23F
secondary
#C579BD
accent
#48D0E0
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #31B23F

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

Preview Lab → · Contrast checker → · Palette generator →

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