#31A11F#31A11F

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

Color values

HEX#31A11F
RGBrgb(49, 161, 31)
HSLhsl(112, 68%, 38%)
HSVhsv(112, 81%, 63%)
CMYKcmyk(69.6%, 0%, 80.7%, 36.9%)
CIE-LABlab(58.26, -54.43, 53.62)
CIE-LCHlch(58.26, 76.41, 135.43°)
OKLaboklab(62.24% -0.1487 0.1193)
OKLCHoklch(62.24% 0.191 141.3)
XYZxyz(14.2580, 26.2401, 5.6095)
Luminance0.2624 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A11F #8F1FA1
analogous
#72A11F #31A11F #1FA14E
triadic
#31A11F #1F31A1 #A11F31
tetradic
#31A11F #1F72A1 #8F1FA1 #A14E1F
square
#31A11F #1F72A1 #8F1FA1 #A14E1F
split-complementary
#31A11F #4E1FA1 #A11F72
monochromatic
#123A0B #216E15 #31A11F #41D429 #6DDF5B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31A11F#FFFFFF#000000##000000
##31A11F1.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)
#98892F
Tritanopia (blue-blind)
#179C89
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #31a11f;
/* rgb */ color: rgb(49, 161, 31);
/* oklch */ color: oklch(62.2% 0.191 141.3);
Tailwind
colors: {
  custom: {
    50: '#7abe66',
    500: '#31a11f',
    950: '#000000',
  },
}
SCSS
$custom: #31a11f;
$custom-light: #7abe66;
$custom-dark: #000000;
JSON
{
  "hex": "#31a11f",
  "rgb": {
    "r": 49,
    "g": 161,
    "b": 31
  },
  "hsl": {
    "h": 111.692,
    "s": 67.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.62237,
    "c": 0.1906,
    "h": 141.3
  },
  "luminance": 0.26242
}

Semantic roles & 50–950 ramp

primary
#31A11F
secondary
#B558C4
accent
#3DEBD3
background
#F8FBF6
surface
#EFF7EB
border
#CAD0C6
text
#0B1206
muted
#7C817A

Preview Lab

Preview with #31A11F

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

Preview Lab → · Contrast checker → · Palette generator →

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