#31B41C#31B41C

#31B41C is a light, highly saturated green. Relative luminance 0.334; OKLCH L 67.4% C 0.212 H 141.4°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#31B41C
RGBrgb(49, 180, 28)
HSLhsl(112, 73%, 41%)
HSVhsv(112, 84%, 71%)
CMYKcmyk(72.8%, 0%, 84.4%, 29.4%)
CIE-LABlab(64.47, -60.79, 60.16)
CIE-LCHlch(64.47, 85.52, 135.30°)
OKLaboklab(67.38% -0.1659 0.1325)
OKLCHoklch(67.38% 0.212 141.4)
XYZxyz(17.7965, 33.3773, 6.6030)
Luminance0.3338 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B41C #9F1CB4
analogous
#7DB41C #31B41C #1CB453
triadic
#31B41C #1C31B4 #B41C31
tetradic
#31B41C #1C7DB4 #9F1CB4 #B4531C
square
#31B41C #1C7DB4 #9F1CB4 #B4531C
split-complementary
#31B41C #531CB4 #B41C7D
monochromatic
#144A0C #237F14 #31B41C #47DF2F #76E764

Accessibility & contrast

On white

2.74
#31B41C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#31B41C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B41C
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B41C#FFFFFF#000000##000000
##31B41C1.002.747.687.68
#FFFFFF2.741.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A200
Deuteranopia (green-blind)
#AA9831
Tritanopia (blue-blind)
#05AE99
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #31b41c;
/* rgb */ color: rgb(49, 180, 28);
/* oklch */ color: oklch(67.4% 0.212 141.4);
Tailwind
colors: {
  custom: {
    50: '#7ecc68',
    500: '#31b41c',
    950: '#000000',
  },
}
SCSS
$custom: #31b41c;
$custom-light: #7ecc68;
$custom-dark: #000000;
JSON
{
  "hex": "#31b41c",
  "rgb": {
    "r": 49,
    "g": 180,
    "b": 28
  },
  "hsl": {
    "h": 111.711,
    "s": 73.077,
    "l": 40.784
  },
  "oklch": {
    "l": 0.67382,
    "c": 0.21236,
    "h": 141.4
  },
  "luminance": 0.33379
}

Semantic roles & 50–950 ramp

primary
#31B41C
secondary
#BD60CC
accent
#38F0D6
background
#F8FCF6
surface
#F0F9EB
border
#CBD2C6
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #31B41C

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

Preview Lab → · Contrast checker → · Palette generator →

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