#31B92D#31B92D

#31B92D is a light, highly saturated green. Relative luminance 0.355; OKLCH L 68.8% C 0.210 H 142.6°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#31B92D
RGBrgb(49, 185, 45)
HSLhsl(118, 61%, 45%)
HSVhsv(118, 76%, 73%)
CMYKcmyk(73.5%, 0%, 75.7%, 27.5%)
CIE-LABlab(66.17, -61.36, 56.74)
CIE-LCHlch(66.17, 83.57, 137.24°)
OKLaboklab(68.82% -0.1667 0.1277)
OKLCHoklch(68.82% 0.21 142.6)
XYZxyz(19.0881, 35.5382, 8.3357)
Luminance0.3554 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B92D #B52DB9
analogous
#77B92D #31B92D #2DB96F
triadic
#31B92D #2D31B9 #B92D31
tetradic
#31B92D #2D77B9 #B52DB9 #B96F2D
square
#31B92D #2D77B9 #B52DB9 #B96F2D
split-complementary
#31B92D #6F2DB9 #B92D77
monochromatic
#175715 #248821 #31B92D #53D44F #83E080

Accessibility & contrast

On white

2.59
#31B92D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#31B92D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B92D
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B92D#FFFFFF#000000##000000
##31B92D1.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA70D
Deuteranopia (green-blind)
#AE9D3C
Tritanopia (blue-blind)
#00B39E
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #31b92d;
/* rgb */ color: rgb(49, 185, 45);
/* oklch */ color: oklch(68.8% 0.210 142.6);
Tailwind
colors: {
  custom: {
    50: '#7fcf70',
    500: '#31b92d',
    950: '#000000',
  },
}
SCSS
$custom: #31b92d;
$custom-light: #7fcf70;
$custom-dark: #000000;
JSON
{
  "hex": "#31b92d",
  "rgb": {
    "r": 49,
    "g": 185,
    "b": 45
  },
  "hsl": {
    "h": 118.286,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.68821,
    "c": 0.21002,
    "h": 142.6
  },
  "luminance": 0.3554
}

Semantic roles & 50–950 ramp

primary
#31B92D
secondary
#C779C9
accent
#44E4DF
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1408
muted
#7D827B

Preview Lab

Preview with #31B92D

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

Preview Lab → · Contrast checker → · Palette generator →

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