#31A950#31A950

#31A950 is a light, vivid green. Relative luminance 0.296; OKLCH L 64.9% C 0.165 H 148.0°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#31A950
RGBrgb(49, 169, 80)
HSLhsl(136, 55%, 43%)
HSVhsv(136, 71%, 66%)
CMYKcmyk(71%, 0%, 52.7%, 33.7%)
CIE-LABlab(61.31, -52.08, 36.32)
CIE-LCHlch(61.31, 63.50, 145.10°)
OKLaboklab(64.9% -0.1403 0.0876)
OKLCHoklch(64.9% 0.165 148)
XYZxyz(16.9013, 29.6062, 12.4117)
Luminance0.2961 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A950 #A9318A
analogous
#4EA931 #31A950 #31A98C
triadic
#31A950 #5031A9 #A95031
tetradic
#31A950 #314EA9 #A9318A #A98C31
square
#31A950 #314EA9 #A9318A #A98C31
split-complementary
#31A950 #8C31A9 #A9314E
monochromatic
#154A23 #237A3A #31A950 #4CCB6D #7CD994

Accessibility & contrast

On white

3.03
#31A950 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#31A950 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A950
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A950#FFFFFF#000000##000000
##31A9501.003.036.926.92
#FFFFFF3.031.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9A48
Deuteranopia (green-blind)
#9C9057
Tritanopia (blue-blind)
#00A595
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #31a950;
/* rgb */ color: rgb(49, 169, 80);
/* oklch */ color: oklch(64.9% 0.165 148.0);
Tailwind
colors: {
  custom: {
    50: '#7ac483',
    500: '#31a950',
    950: '#000000',
  },
}
SCSS
$custom: #31a950;
$custom-light: #7ac483;
$custom-dark: #000000;
JSON
{
  "hex": "#31a950",
  "rgb": {
    "r": 49,
    "g": 169,
    "b": 80
  },
  "hsl": {
    "h": 135.5,
    "s": 55.046,
    "l": 42.745
  },
  "oklch": {
    "l": 0.64902,
    "c": 0.16534,
    "h": 148
  },
  "luminance": 0.29608
}

Semantic roles & 50–950 ramp

primary
#31A950
secondary
#C174AE
accent
#49B8DE
background
#F8FCF8
surface
#EFF8EF
border
#CAD1CA
text
#0A130B
muted
#7C827C

Preview Lab

Preview with #31A950

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

Preview Lab → · Contrast checker → · Palette generator →

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