#31A93F#31A93F

#31A93F is a light, vivid green. Relative luminance 0.294; OKLCH L 64.7% C 0.180 H 144.8°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#31A93F
RGBrgb(49, 169, 63)
HSLhsl(127, 55%, 43%)
HSVhsv(127, 71%, 66%)
CMYKcmyk(71%, 0%, 62.7%, 33.7%)
CIE-LABlab(61.12, -54.34, 44.22)
CIE-LCHlch(61.12, 70.06, 140.86°)
OKLaboklab(64.68% -0.1469 0.1035)
OKLCHoklch(64.68% 0.18 144.8)
XYZxyz(16.3507, 29.3860, 9.5120)
Luminance0.2939 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A93F #A9319B
analogous
#5FA931 #31A93F #31A97B
triadic
#31A93F #3F31A9 #A93F31
tetradic
#31A93F #315FA9 #A9319B #A97B31
square
#31A93F #315FA9 #A9319B #A97B31
split-complementary
#31A93F #7B31A9 #A9315F
monochromatic
#154A1C #237A2D #31A93F #4CCB5B #7CD986

Accessibility & contrast

On white

3.05
#31A93F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#31A93F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A93F
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A93F#FFFFFF#000000##000000
##31A93F1.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9933
Deuteranopia (green-blind)
#9E9048
Tritanopia (blue-blind)
#00A592
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #31a93f;
/* rgb */ color: rgb(49, 169, 63);
/* oklch */ color: oklch(64.7% 0.180 144.8);
Tailwind
colors: {
  custom: {
    50: '#7ac478',
    500: '#31a93f',
    950: '#000000',
  },
}
SCSS
$custom: #31a93f;
$custom-light: #7ac478;
$custom-dark: #000000;
JSON
{
  "hex": "#31a93f",
  "rgb": {
    "r": 49,
    "g": 169,
    "b": 63
  },
  "hsl": {
    "h": 127,
    "s": 55.046,
    "l": 42.745
  },
  "oklch": {
    "l": 0.64681,
    "c": 0.17967,
    "h": 144.8
  },
  "luminance": 0.29388
}

Semantic roles & 50–950 ramp

primary
#31A93F
secondary
#C174B8
accent
#49CDDE
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #31A93F

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

Preview Lab → · Contrast checker → · Palette generator →

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