#31A01D#31A01D

#31A01D is a mid, vivid green. Relative luminance 0.259; OKLCH L 62.0% C 0.190 H 141.1°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#31A01D
RGBrgb(49, 160, 29)
HSLhsl(111, 69%, 37%)
HSVhsv(111, 82%, 63%)
CMYKcmyk(69.4%, 0%, 81.9%, 37.3%)
CIE-LABlab(57.92, -54.22, 53.90)
CIE-LCHlch(57.92, 76.45, 135.17°)
OKLaboklab(61.95% -0.1482 0.1195)
OKLCHoklch(61.95% 0.19 141.1)
XYZxyz(14.0585, 25.8818, 5.4170)
Luminance0.2588 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A01D #8C1DA0
analogous
#72A01D #31A01D #1DA04B
triadic
#31A01D #1D31A0 #A01D31
tetradic
#31A01D #1D72A0 #8C1DA0 #A04B1D
square
#31A01D #1D72A0 #8C1DA0 #A04B1D
split-complementary
#31A01D #4B1DA0 #A01D72
monochromatic
#11380A #216C14 #31A01D #41D426 #6CE157

Accessibility & contrast

On white

3.40
#31A01D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#31A01D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A01D
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A01D#FFFFFF#000000##000000
##31A01D1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49100
Deuteranopia (green-blind)
#97882D
Tritanopia (blue-blind)
#189B88
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #31a01d;
/* rgb */ color: rgb(49, 160, 29);
/* oklch */ color: oklch(62.0% 0.190 141.1);
Tailwind
colors: {
  custom: {
    50: '#7abd65',
    500: '#31a01d',
    950: '#000000',
  },
}
SCSS
$custom: #31a01d;
$custom-light: #7abd65;
$custom-dark: #000000;
JSON
{
  "hex": "#31a01d",
  "rgb": {
    "r": 49,
    "g": 160,
    "b": 29
  },
  "hsl": {
    "h": 110.84,
    "s": 69.312,
    "l": 37.059
  },
  "oklch": {
    "l": 0.61952,
    "c": 0.19039,
    "h": 141.1
  },
  "luminance": 0.25883
}

Semantic roles & 50–950 ramp

primary
#31A01D
secondary
#B355C4
accent
#3CECD1
background
#F8FBF6
surface
#EFF7EB
border
#CAD0C6
text
#0B1206
muted
#7C817A

Preview Lab

Preview with #31A01D

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

Preview Lab → · Contrast checker → · Palette generator →

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