#31A019#31A019

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

Color values

HEX#31A019
RGBrgb(49, 160, 25)
HSLhsl(109, 73%, 36%)
HSVhsv(109, 84%, 63%)
CMYKcmyk(69.4%, 0%, 84.4%, 37.3%)
CIE-LABlab(57.91, -54.43, 54.99)
CIE-LCHlch(57.91, 77.37, 134.71°)
OKLaboklab(61.93% -0.1489 0.1213)
OKLCHoklch(61.93% 0.192 140.8)
XYZxyz(14.0122, 25.8633, 5.1732)
Luminance0.2586 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A019 #8819A0
analogous
#75A019 #31A019 #19A045
triadic
#31A019 #1931A0 #A01931
tetradic
#31A019 #1975A0 #8819A0 #A04519
square
#31A019 #1975A0 #8819A0 #A04519
split-complementary
#31A019 #4519A0 #A01975
monochromatic
#113608 #216B11 #31A019 #41D521 #6AE450

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31A019#FFFFFF#000000##000000
##31A0191.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)
#97882B
Tritanopia (blue-blind)
#199B88
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #31a019;
/* rgb */ color: rgb(49, 160, 25);
/* oklch */ color: oklch(61.9% 0.192 140.8);
Tailwind
colors: {
  custom: {
    50: '#7abd64',
    500: '#31a019',
    950: '#000000',
  },
}
SCSS
$custom: #31a019;
$custom-light: #7abd64;
$custom-dark: #000000;
JSON
{
  "hex": "#31a019",
  "rgb": {
    "r": 49,
    "g": 160,
    "b": 25
  },
  "hsl": {
    "h": 109.333,
    "s": 72.973,
    "l": 36.275
  },
  "oklch": {
    "l": 0.61932,
    "c": 0.19207,
    "h": 140.8
  },
  "luminance": 0.25865
}

Semantic roles & 50–950 ramp

primary
#31A019
secondary
#B14FC6
accent
#38F0CF
background
#F8FBF6
surface
#EFF7EB
border
#CAD0C6
text
#0B1206
muted
#7C817A

Preview Lab

Preview with #31A019

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

Preview Lab → · Contrast checker → · Palette generator →

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