#31A11B#31A11B

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

Color values

HEX#31A11B
RGBrgb(49, 161, 27)
HSLhsl(110, 71%, 37%)
HSVhsv(110, 83%, 63%)
CMYKcmyk(69.6%, 0%, 83.2%, 36.9%)
CIE-LABlab(58.25, -54.66, 54.76)
CIE-LCHlch(58.25, 77.37, 134.95°)
OKLaboklab(62.22% -0.1495 0.1211)
OKLCHoklch(62.22% 0.192 141)
XYZxyz(14.2086, 26.2203, 5.3489)
Luminance0.2622 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A11B #8B1BA1
analogous
#74A11B #31A11B #1BA148
triadic
#31A11B #1B31A1 #A11B31
tetradic
#31A11B #1B74A1 #8B1BA1 #A1481B
square
#31A11B #1B74A1 #8B1BA1 #A1481B
split-complementary
#31A11B #481BA1 #A11B74
monochromatic
#113809 #216D12 #31A11B #41D524 #6BE254

Accessibility & contrast

On white

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

On black

6.24
#31A11B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A11B
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A11B#FFFFFF#000000##000000
##31A11B1.003.366.246.24
#FFFFFF3.361.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31a11b;
/* rgb */ color: rgb(49, 161, 27);
/* oklch */ color: oklch(62.2% 0.192 141.0);
Tailwind
colors: {
  custom: {
    50: '#7abe65',
    500: '#31a11b',
    950: '#000000',
  },
}
SCSS
$custom: #31a11b;
$custom-light: #7abe65;
$custom-dark: #000000;
JSON
{
  "hex": "#31a11b",
  "rgb": {
    "r": 49,
    "g": 161,
    "b": 27
  },
  "hsl": {
    "h": 110.149,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.62215,
    "c": 0.19236,
    "h": 141
  },
  "luminance": 0.26222
}

Semantic roles & 50–950 ramp

primary
#31A11B
secondary
#B252C5
accent
#3AEED0
background
#F8FBF6
surface
#EFF7EB
border
#CAD0C6
text
#0B1206
muted
#7C817A

Preview Lab

Preview with #31A11B

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

Preview Lab → · Contrast checker → · Palette generator →

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