#31AD3B#31AD3B

#31AD3B is a light, vivid green. Relative luminance 0.309; OKLCH L 65.7% C 0.188 H 144.2°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#31AD3B
RGBrgb(49, 173, 59)
HSLhsl(125, 56%, 44%)
HSVhsv(125, 72%, 68%)
CMYKcmyk(71.7%, 0%, 65.9%, 32.2%)
CIE-LABlab(62.38, -56.16, 47.39)
CIE-LCHlch(62.38, 73.48, 139.84°)
OKLaboklab(65.72% -0.152 0.1098)
OKLCHoklch(65.72% 0.188 144.2)
XYZxyz(16.9985, 30.8540, 9.1964)
Luminance0.3086 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AD3B #AD31A3
analogous
#65AD31 #31AD3B #31AD79
triadic
#31AD3B #3B31AD #AD3B31
tetradic
#31AD3B #3165AD #AD31A3 #AD7931
square
#31AD3B #3165AD #AD31A3 #AD7931
split-complementary
#31AD3B #7931AD #AD3165
monochromatic
#164E1A #237D2B #31AD3B #4ECD58 #7EDA85

Accessibility & contrast

On white

2.93
#31AD3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#31AD3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AD3B
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AD3B#FFFFFF#000000##000000
##31AD3B1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09D2D
Deuteranopia (green-blind)
#A29345
Tritanopia (blue-blind)
#00A895
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #31ad3b;
/* rgb */ color: rgb(49, 173, 59);
/* oklch */ color: oklch(65.7% 0.188 144.2);
Tailwind
colors: {
  custom: {
    50: '#7bc776',
    500: '#31ad3b',
    950: '#000000',
  },
}
SCSS
$custom: #31ad3b;
$custom-light: #7bc776;
$custom-dark: #000000;
JSON
{
  "hex": "#31ad3b",
  "rgb": {
    "r": 49,
    "g": 173,
    "b": 59
  },
  "hsl": {
    "h": 124.839,
    "s": 55.856,
    "l": 43.529
  },
  "oklch": {
    "l": 0.65716,
    "c": 0.1875,
    "h": 144.2
  },
  "luminance": 0.30856
}

Semantic roles & 50–950 ramp

primary
#31AD3B
secondary
#C377BD
accent
#49D3DF
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #31AD3B

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

Preview Lab → · Contrast checker → · Palette generator →

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