#31B41B#31B41B

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

Color values

HEX#31B41B
RGBrgb(49, 180, 27)
HSLhsl(111, 74%, 41%)
HSVhsv(111, 85%, 71%)
CMYKcmyk(72.8%, 0%, 85%, 29.4%)
CIE-LABlab(64.46, -60.83, 60.40)
CIE-LCHlch(64.46, 85.72, 135.21°)
OKLaboklab(67.38% -0.1661 0.1329)
OKLCHoklch(67.38% 0.213 141.3)
XYZxyz(17.7847, 33.3726, 6.5410)
Luminance0.3337 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B41B #9E1BB4
analogous
#7DB41B #31B41B #1BB452
triadic
#31B41B #1B31B4 #B41B31
tetradic
#31B41B #1B7DB4 #9E1BB4 #B4521B
square
#31B41B #1B7DB4 #9E1BB4 #B4521B
split-complementary
#31B41B #521BB4 #B41B7D
monochromatic
#144A0B #237F13 #31B41B #46DF2D #75E762

Accessibility & contrast

On white

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

On black

7.67
#31B41B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B41B
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B41B#FFFFFF#000000##000000
##31B41B1.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31b41b;
/* rgb */ color: rgb(49, 180, 27);
/* oklch */ color: oklch(67.4% 0.213 141.3);
Tailwind
colors: {
  custom: {
    50: '#7ecc68',
    500: '#31b41b',
    950: '#000000',
  },
}
SCSS
$custom: #31b41b;
$custom-light: #7ecc68;
$custom-dark: #000000;
JSON
{
  "hex": "#31b41b",
  "rgb": {
    "r": 49,
    "g": 180,
    "b": 27
  },
  "hsl": {
    "h": 111.373,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.67377,
    "c": 0.21272,
    "h": 141.3
  },
  "luminance": 0.33375
}

Semantic roles & 50–950 ramp

primary
#31B41B
secondary
#BC5FCC
accent
#37F1D6
background
#F8FCF6
surface
#F0F9EB
border
#CBD2C6
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #31B41B

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

Preview Lab → · Contrast checker → · Palette generator →

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