#31A126#31A126

#31A126 is a light, vivid green. Relative luminance 0.263; OKLCH L 62.3% C 0.187 H 141.8°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#31A126
RGBrgb(49, 161, 38)
HSLhsl(115, 62%, 39%)
HSVhsv(115, 76%, 63%)
CMYKcmyk(69.6%, 0%, 76.4%, 36.9%)
CIE-LABlab(58.30, -53.97, 51.37)
CIE-LCHlch(58.30, 74.51, 136.41°)
OKLaboklab(62.28% -0.1471 0.1155)
OKLCHoklch(62.28% 0.187 141.8)
XYZxyz(14.3605, 26.2811, 6.1493)
Luminance0.2628 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A126 #9626A1
analogous
#6FA126 #31A126 #26A159
triadic
#31A126 #2631A1 #A12631
tetradic
#31A126 #266FA1 #9626A1 #A15926
square
#31A126 #266FA1 #9626A1 #A15926
split-complementary
#31A126 #5926A1 #A1266F
monochromatic
#133E0F #226F1A #31A126 #43CF35 #71DB66

Accessibility & contrast

On white

3.36
#31A126 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#31A126 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A126
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A126#FFFFFF#000000##000000
##31A1261.003.366.266.26
#FFFFFF3.361.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5920A
Deuteranopia (green-blind)
#988934
Tritanopia (blue-blind)
#159C8A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #31a126;
/* rgb */ color: rgb(49, 161, 38);
/* oklch */ color: oklch(62.3% 0.187 141.8);
Tailwind
colors: {
  custom: {
    50: '#7abe69',
    500: '#31a126',
    950: '#000000',
  },
}
SCSS
$custom: #31a126;
$custom-light: #7abe69;
$custom-dark: #000000;
JSON
{
  "hex": "#31a126",
  "rgb": {
    "r": 49,
    "g": 161,
    "b": 38
  },
  "hsl": {
    "h": 114.634,
    "s": 61.809,
    "l": 39.02
  },
  "oklch": {
    "l": 0.62281,
    "c": 0.18703,
    "h": 141.8
  },
  "luminance": 0.26283
}

Semantic roles & 50–950 ramp

primary
#31A126
secondary
#B862C1
accent
#43E5D6
background
#F8FBF6
surface
#EFF7EB
border
#CAD0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #31A126

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

Preview Lab → · Contrast checker → · Palette generator →

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