#31A018#31A018

#31A018 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#31A018
RGBrgb(49, 160, 24)
HSLhsl(109, 74%, 36%)
HSVhsv(109, 85%, 63%)
CMYKcmyk(69.4%, 0%, 85%, 37.3%)
CIE-LABlab(57.90, -54.48, 55.24)
CIE-LCHlch(57.90, 77.59, 134.60°)
OKLaboklab(61.93% -0.1491 0.1217)
OKLCHoklch(61.93% 0.192 140.8)
XYZxyz(14.0016, 25.8590, 5.1174)
Luminance0.2586 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A018 #8718A0
analogous
#75A018 #31A018 #18A043
triadic
#31A018 #1831A0 #A01831
tetradic
#31A018 #1875A0 #8718A0 #A04318
square
#31A018 #1875A0 #8718A0 #A04318
split-complementary
#31A018 #4318A0 #A01875
monochromatic
#103608 #216B10 #31A018 #41D520 #6AE44E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31A018#FFFFFF#000000##000000
##31A0181.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)
#98882A
Tritanopia (blue-blind)
#199B88
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #31a018;
/* rgb */ color: rgb(49, 160, 24);
/* oklch */ color: oklch(61.9% 0.192 140.8);
Tailwind
colors: {
  custom: {
    50: '#7abd63',
    500: '#31a018',
    950: '#000000',
  },
}
SCSS
$custom: #31a018;
$custom-light: #7abd63;
$custom-dark: #000000;
JSON
{
  "hex": "#31a018",
  "rgb": {
    "r": 49,
    "g": 160,
    "b": 24
  },
  "hsl": {
    "h": 108.971,
    "s": 73.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.61927,
    "c": 0.19246,
    "h": 140.8
  },
  "luminance": 0.25861
}

Semantic roles & 50–950 ramp

primary
#31A018
secondary
#B04DC6
accent
#37F1CE
background
#F8FBF6
surface
#EFF7EB
border
#CAD0C6
text
#0B1206
muted
#7C817A

Preview Lab

Preview with #31A018

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

Preview Lab → · Contrast checker → · Palette generator →

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