#31A11C#31A11C

#31A11C is a light, vivid green. Relative luminance 0.262; OKLCH L 62.2% C 0.192 H 141.1°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#31A11C
RGBrgb(49, 161, 28)
HSLhsl(111, 70%, 37%)
HSVhsv(111, 83%, 63%)
CMYKcmyk(69.6%, 0%, 82.6%, 36.9%)
CIE-LABlab(58.25, -54.61, 54.49)
CIE-LCHlch(58.25, 77.14, 135.06°)
OKLaboklab(62.22% -0.1493 0.1206)
OKLCHoklch(62.22% 0.192 141.1)
XYZxyz(14.2203, 26.2250, 5.4109)
Luminance0.2623 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A11C #8C1CA1
analogous
#74A11C #31A11C #1CA149
triadic
#31A11C #1C31A1 #A11C31
tetradic
#31A11C #1C74A1 #8C1CA1 #A1491C
square
#31A11C #1C74A1 #8C1CA1 #A1491C
split-complementary
#31A11C #491CA1 #A11C74
monochromatic
#11390A #216D13 #31A11C #41D525 #6CE256

Accessibility & contrast

On white

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

On black

6.25
#31A11C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A11C
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A11C#FFFFFF#000000##000000
##31A11C1.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#98892D
Tritanopia (blue-blind)
#189C89
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #31a11c;
/* rgb */ color: rgb(49, 161, 28);
/* oklch */ color: oklch(62.2% 0.192 141.1);
Tailwind
colors: {
  custom: {
    50: '#7abe65',
    500: '#31a11c',
    950: '#000000',
  },
}
SCSS
$custom: #31a11c;
$custom-light: #7abe65;
$custom-dark: #000000;
JSON
{
  "hex": "#31a11c",
  "rgb": {
    "r": 49,
    "g": 161,
    "b": 28
  },
  "hsl": {
    "h": 110.526,
    "s": 70.37,
    "l": 37.059
  },
  "oklch": {
    "l": 0.6222,
    "c": 0.19194,
    "h": 141.1
  },
  "luminance": 0.26227
}

Semantic roles & 50–950 ramp

primary
#31A11C
secondary
#B354C5
accent
#3BEDD1
background
#F8FBF6
surface
#EFF7EB
border
#CAD0C6
text
#0B1206
muted
#7C817A

Preview Lab

Preview with #31A11C

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

Preview Lab → · Contrast checker → · Palette generator →

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