#31A326#31A326

#31A326 is a light, vivid green. Relative luminance 0.270; OKLCH L 62.8% C 0.189 H 141.9°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#31A326
RGBrgb(49, 163, 38)
HSLhsl(115, 62%, 39%)
HSVhsv(115, 77%, 64%)
CMYKcmyk(69.9%, 0%, 76.7%, 36.1%)
CIE-LABlab(58.96, -54.64, 52.02)
CIE-LCHlch(58.96, 75.45, 136.41°)
OKLaboklab(62.83% -0.1489 0.1169)
OKLCHoklch(62.83% 0.189 141.9)
XYZxyz(14.7128, 26.9857, 6.2667)
Luminance0.2699 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A326 #9826A3
analogous
#70A326 #31A326 #26A35A
triadic
#31A326 #2631A3 #A32631
tetradic
#31A326 #2670A3 #9826A3 #A35A26
square
#31A326 #2670A3 #9826A3 #A35A26
split-complementary
#31A326 #5A26A3 #A32670
monochromatic
#13400F #22711A #31A326 #44D036 #72DC68

Accessibility & contrast

On white

3.28
#31A326 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#31A326 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A326
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A326#FFFFFF#000000##000000
##31A3261.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79309
Deuteranopia (green-blind)
#9A8A34
Tritanopia (blue-blind)
#149E8B
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #31a326;
/* rgb */ color: rgb(49, 163, 38);
/* oklch */ color: oklch(62.8% 0.189 141.9);
Tailwind
colors: {
  custom: {
    50: '#7abf6a',
    500: '#31a326',
    950: '#000000',
  },
}
SCSS
$custom: #31a326;
$custom-light: #7abf6a;
$custom-dark: #000000;
JSON
{
  "hex": "#31a326",
  "rgb": {
    "r": 49,
    "g": 163,
    "b": 38
  },
  "hsl": {
    "h": 114.72,
    "s": 62.189,
    "l": 39.412
  },
  "oklch": {
    "l": 0.62827,
    "c": 0.18931,
    "h": 141.9
  },
  "luminance": 0.26987
}

Semantic roles & 50–950 ramp

primary
#31A326
secondary
#B963C2
accent
#43E5D7
background
#F8FBF6
surface
#EFF7EB
border
#CAD0C6
text
#0B1207
muted
#7C817A

Preview Lab

Preview with #31A326

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

Preview Lab → · Contrast checker → · Palette generator →

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