#31A01C#31A01C

#31A01C 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.18:1 contrast (WCAG AA passes).

Color values

HEX#31A01C
RGBrgb(49, 160, 28)
HSLhsl(110, 70%, 37%)
HSVhsv(110, 83%, 63%)
CMYKcmyk(69.4%, 0%, 82.5%, 37.3%)
CIE-LABlab(57.92, -54.27, 54.18)
CIE-LCHlch(57.92, 76.69, 135.05°)
OKLaboklab(61.95% -0.1484 0.12)
OKLCHoklch(61.95% 0.191 141)
XYZxyz(14.0463, 25.8769, 5.3529)
Luminance0.2588 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A01C #8B1CA0
analogous
#73A01C #31A01C #1CA049
triadic
#31A01C #1C31A0 #A01C31
tetradic
#31A01C #1C73A0 #8B1CA0 #A0491C
square
#31A01C #1C73A0 #8B1CA0 #A0491C
split-complementary
#31A01C #491CA0 #A01C73
monochromatic
#11380A #216C13 #31A01C #41D425 #6BE155

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31A01C#FFFFFF#000000##000000
##31A01C1.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)
#199B88
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #31a01c;
/* rgb */ color: rgb(49, 160, 28);
/* oklch */ color: oklch(61.9% 0.191 141.0);
Tailwind
colors: {
  custom: {
    50: '#7abd65',
    500: '#31a01c',
    950: '#000000',
  },
}
SCSS
$custom: #31a01c;
$custom-light: #7abd65;
$custom-dark: #000000;
JSON
{
  "hex": "#31a01c",
  "rgb": {
    "r": 49,
    "g": 160,
    "b": 28
  },
  "hsl": {
    "h": 110.455,
    "s": 70.213,
    "l": 36.863
  },
  "oklch": {
    "l": 0.61947,
    "c": 0.19083,
    "h": 141
  },
  "luminance": 0.25878
}

Semantic roles & 50–950 ramp

primary
#31A01C
secondary
#B253C4
accent
#3BEDD1
background
#F8FBF6
surface
#EFF7EB
border
#CAD0C6
text
#0B1206
muted
#7C817A

Preview Lab

Preview with #31A01C

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

Preview Lab → · Contrast checker → · Palette generator →

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