#31A431#31A431

#31A431 is a light, vivid green. Relative luminance 0.274; OKLCH L 63.2% C 0.184 H 143.0°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#31A431
RGBrgb(49, 164, 49)
HSLhsl(120, 54%, 42%)
HSVhsv(120, 70%, 64%)
CMYKcmyk(70.1%, 0%, 70.1%, 35.7%)
CIE-LABlab(59.36, -54.07, 48.31)
CIE-LCHlch(59.36, 72.51, 138.22°)
OKLaboklab(63.19% -0.1468 0.1106)
OKLCHoklch(63.19% 0.184 143)
XYZxyz(15.0956, 27.4240, 7.4029)
Luminance0.2743 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A431 #A431A4
analogous
#6BA431 #31A431 #31A46B
triadic
#31A431 #3131A4 #A43131
tetradic
#31A431 #316BA4 #A431A4 #A46B31
square
#31A431 #316BA4 #A431A4 #A46B31
split-complementary
#31A431 #6B31A4 #A4316B
monochromatic
#154615 #237523 #31A431 #49C949 #79D779

Accessibility & contrast

On white

3.24
#31A431 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#31A431 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A431
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A431#FFFFFF#000000##000000
##31A4311.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89520
Deuteranopia (green-blind)
#9A8B3C
Tritanopia (blue-blind)
#0E9F8D
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #31a431;
/* rgb */ color: rgb(49, 164, 49);
/* oklch */ color: oklch(63.2% 0.184 143.0);
Tailwind
colors: {
  custom: {
    50: '#7ac06f',
    500: '#31a431',
    950: '#000000',
  },
}
SCSS
$custom: #31a431;
$custom-light: #7ac06f;
$custom-dark: #000000;
JSON
{
  "hex": "#31a431",
  "rgb": {
    "r": 49,
    "g": 164,
    "b": 49
  },
  "hsl": {
    "h": 120,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.63186,
    "c": 0.1838,
    "h": 143
  },
  "luminance": 0.27426
}

Semantic roles & 50–950 ramp

primary
#31A431
secondary
#BF72BF
accent
#4ADDDD
background
#F8FBF6
surface
#EFF7EC
border
#CAD0C7
text
#0A1208
muted
#7C817B

Preview Lab

Preview with #31A431

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

Preview Lab → · Contrast checker → · Palette generator →

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