#31A23F#31A23F

#31A23F is a light, vivid green. Relative luminance 0.269; OKLCH L 62.8% C 0.171 H 145.1°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#31A23F
RGBrgb(49, 162, 63)
HSLhsl(127, 54%, 41%)
HSVhsv(127, 70%, 64%)
CMYKcmyk(69.8%, 0%, 61.1%, 36.5%)
CIE-LABlab(58.84, -51.87, 41.62)
CIE-LCHlch(58.84, 66.50, 141.26°)
OKLaboklab(62.79% -0.1402 0.0979)
OKLCHoklch(62.79% 0.171 145.1)
XYZxyz(15.0832, 26.8509, 9.0895)
Luminance0.2685 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A23F #A23194
analogous
#5CA231 #31A23F #31A278
triadic
#31A23F #3F31A2 #A23F31
tetradic
#31A23F #315CA2 #A23194 #A27831
square
#31A23F #315CA2 #A23194 #A27831
split-complementary
#31A23F #7831A2 #A2315C
monochromatic
#15441A #23732D #31A23F #48C858 #77D683

Accessibility & contrast

On white

3.30
#31A23F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#31A23F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A23F
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A23F#FFFFFF#000000##000000
##31A23F1.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59334
Deuteranopia (green-blind)
#978A47
Tritanopia (blue-blind)
#069E8D
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #31a23f;
/* rgb */ color: rgb(49, 162, 63);
/* oklch */ color: oklch(62.8% 0.171 145.1);
Tailwind
colors: {
  custom: {
    50: '#79bf77',
    500: '#31a23f',
    950: '#000000',
  },
}
SCSS
$custom: #31a23f;
$custom-light: #79bf77;
$custom-dark: #000000;
JSON
{
  "hex": "#31a23f",
  "rgb": {
    "r": 49,
    "g": 162,
    "b": 63
  },
  "hsl": {
    "h": 127.434,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.62789,
    "c": 0.17098,
    "h": 145.1
  },
  "luminance": 0.26853
}

Semantic roles & 50–950 ramp

primary
#31A23F
secondary
#BE71B5
accent
#4BCBDD
background
#F7FBF7
surface
#EEF7ED
border
#C9D0C8
text
#0A1209
muted
#7C817B

Preview Lab

Preview with #31A23F

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

Preview Lab → · Contrast checker → · Palette generator →

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