#31A01B#31A01B

#31A01B is a mid, vivid green. Relative luminance 0.259; OKLCH L 61.9% C 0.191 H 141.0°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#31A01B
RGBrgb(49, 160, 27)
HSLhsl(110, 71%, 37%)
HSVhsv(110, 83%, 63%)
CMYKcmyk(69.4%, 0%, 83.1%, 37.3%)
CIE-LABlab(57.92, -54.33, 54.46)
CIE-LCHlch(57.92, 76.92, 134.93°)
OKLaboklab(61.94% -0.1486 0.1204)
OKLCHoklch(61.94% 0.191 141)
XYZxyz(14.0345, 25.8722, 5.2909)
Luminance0.2587 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A01B #8A1BA0
analogous
#74A01B #31A01B #1BA048
triadic
#31A01B #1B31A0 #A01B31
tetradic
#31A01B #1B74A0 #8A1BA0 #A0481B
square
#31A01B #1B74A0 #8A1BA0 #A0481B
split-complementary
#31A01B #481BA0 #A01B74
monochromatic
#113709 #216C12 #31A01B #41D424 #6BE253

Accessibility & contrast

On white

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

On black

6.17
#31A01B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A01B
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A01B#FFFFFF#000000##000000
##31A01B1.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49000
Deuteranopia (green-blind)
#97882C
Tritanopia (blue-blind)
#199B88
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #31a01b;
/* rgb */ color: rgb(49, 160, 27);
/* oklch */ color: oklch(61.9% 0.191 141.0);
Tailwind
colors: {
  custom: {
    50: '#7abd64',
    500: '#31a01b',
    950: '#000000',
  },
}
SCSS
$custom: #31a01b;
$custom-light: #7abd64;
$custom-dark: #000000;
JSON
{
  "hex": "#31a01b",
  "rgb": {
    "r": 49,
    "g": 160,
    "b": 27
  },
  "hsl": {
    "h": 110.075,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.61941,
    "c": 0.19126,
    "h": 141
  },
  "luminance": 0.25874
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31A01B

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

Preview Lab → · Contrast checker → · Palette generator →

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