#31A75F#31A75F

#31A75F is a light, vivid green. Relative luminance 0.291; OKLCH L 64.6% C 0.149 H 152.2°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#31A75F
RGBrgb(49, 167, 95)
HSLhsl(143, 55%, 42%)
HSVhsv(143, 71%, 65%)
CMYKcmyk(70.7%, 0%, 43.1%, 34.5%)
CIE-LABlab(60.88, -48.86, 28.04)
CIE-LCHlch(60.88, 56.33, 150.15°)
OKLaboklab(64.62% -0.1317 0.0693)
OKLCHoklch(64.62% 0.149 152.2)
XYZxyz(17.1494, 29.1147, 15.5402)
Luminance0.2912 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A75F #A73179
analogous
#3EA731 #31A75F #31A79A
triadic
#31A75F #5F31A7 #A75F31
tetradic
#31A75F #313EA7 #A73179 #A79A31
square
#31A75F #313EA7 #A73179 #A79A31
split-complementary
#31A75F #9A31A7 #A7313E
monochromatic
#154829 #237844 #31A75F #4BCA7D #7AD89F

Accessibility & contrast

On white

3.08
#31A75F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#31A75F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A75F
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A75F#FFFFFF#000000##000000
##31A75F1.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7995A
Deuteranopia (green-blind)
#998F64
Tritanopia (blue-blind)
#00A595
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #31a75f;
/* rgb */ color: rgb(49, 167, 95);
/* oklch */ color: oklch(64.6% 0.149 152.2);
Tailwind
colors: {
  custom: {
    50: '#79c28d',
    500: '#31a75f',
    950: '#000000',
  },
}
SCSS
$custom: #31a75f;
$custom-light: #79c28d;
$custom-dark: #000000;
JSON
{
  "hex": "#31a75f",
  "rgb": {
    "r": 49,
    "g": 167,
    "b": 95
  },
  "hsl": {
    "h": 143.39,
    "s": 54.63,
    "l": 42.353
  },
  "oklch": {
    "l": 0.64617,
    "c": 0.1488,
    "h": 152.2
  },
  "luminance": 0.29117
}

Semantic roles & 50–950 ramp

primary
#31A75F
secondary
#C173A2
accent
#4AA4DE
background
#F7FCF8
surface
#EEF8F0
border
#C9D1CB
text
#0A120C
muted
#7C817D

Preview Lab

Preview with #31A75F

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

Preview Lab → · Contrast checker → · Palette generator →

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