#31AE23#31AE23

#31AE23 is a light, highly saturated green. Relative luminance 0.310; OKLCH L 65.8% C 0.203 H 141.7°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#31AE23
RGBrgb(49, 174, 35)
HSLhsl(114, 67%, 41%)
HSVhsv(114, 80%, 68%)
CMYKcmyk(71.8%, 0%, 79.9%, 31.8%)
CIE-LABlab(62.55, -58.48, 56.46)
CIE-LCHlch(62.55, 81.29, 136.01°)
OKLaboklab(65.8% -0.1594 0.1257)
OKLCHoklch(65.8% 0.203 141.7)
XYZxyz(16.7051, 31.0446, 6.7016)
Luminance0.3105 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AE23 #A023AE
analogous
#76AE23 #31AE23 #23AE5A
triadic
#31AE23 #2331AE #AE2331
tetradic
#31AE23 #2376AE #A023AE #AE5A23
square
#31AE23 #2376AE #A023AE #AE5A23
split-complementary
#31AE23 #5A23AE #AE2376
monochromatic
#14480F #237B19 #31AE23 #47D737 #76E16A

Accessibility & contrast

On white

2.91
#31AE23 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#31AE23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AE23
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AE23#FFFFFF#000000##000000
##31AE231.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D00
Deuteranopia (green-blind)
#A49434
Tritanopia (blue-blind)
#0AA894
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #31ae23;
/* rgb */ color: rgb(49, 174, 35);
/* oklch */ color: oklch(65.8% 0.203 141.7);
Tailwind
colors: {
  custom: {
    50: '#7dc76a',
    500: '#31ae23',
    950: '#000000',
  },
}
SCSS
$custom: #31ae23;
$custom-light: #7dc76a;
$custom-dark: #000000;
JSON
{
  "hex": "#31ae23",
  "rgb": {
    "r": 49,
    "g": 174,
    "b": 35
  },
  "hsl": {
    "h": 113.957,
    "s": 66.507,
    "l": 40.98
  },
  "oklch": {
    "l": 0.65797,
    "c": 0.20304,
    "h": 141.7
  },
  "luminance": 0.31046
}

Semantic roles & 50–950 ramp

primary
#31AE23
secondary
#BD66C7
accent
#3EE9D8
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #31AE23

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

Preview Lab → · Contrast checker → · Palette generator →

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