#31B02A#31B02A

#31B02A is a light, highly saturated green. Relative luminance 0.319; OKLCH L 66.4% C 0.202 H 142.3°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#31B02A
RGBrgb(49, 176, 42)
HSLhsl(117, 61%, 43%)
HSVhsv(117, 76%, 69%)
CMYKcmyk(72.2%, 0%, 76.1%, 31%)
CIE-LABlab(63.23, -58.67, 54.87)
CIE-LCHlch(63.23, 80.32, 136.92°)
OKLaboklab(66.38% -0.1596 0.1234)
OKLCHoklch(66.38% 0.202 142.3)
XYZxyz(17.2089, 31.8689, 7.4344)
Luminance0.3187 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B02A #A92AB0
analogous
#74B02A #31B02A #2AB066
triadic
#31B02A #2A31B0 #B02A31
tetradic
#31B02A #2A74B0 #A92AB0 #B0662A
square
#31B02A #2A74B0 #A92AB0 #B0662A
split-complementary
#31B02A #662AB0 #B02A74
monochromatic
#154D12 #237F1E #31B02A #4CD345 #7CDE76

Accessibility & contrast

On white

2.85
#31B02A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#31B02A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B02A
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B02A#FFFFFF#000000##000000
##31B02A1.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F0B
Deuteranopia (green-blind)
#A69539
Tritanopia (blue-blind)
#04AB97
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #31b02a;
/* rgb */ color: rgb(49, 176, 42);
/* oklch */ color: oklch(66.4% 0.202 142.3);
Tailwind
colors: {
  custom: {
    50: '#7dc96d',
    500: '#31b02a',
    950: '#000000',
  },
}
SCSS
$custom: #31b02a;
$custom-light: #7dc96d;
$custom-dark: #000000;
JSON
{
  "hex": "#31b02a",
  "rgb": {
    "r": 49,
    "g": 176,
    "b": 42
  },
  "hsl": {
    "h": 116.866,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.66381,
    "c": 0.20172,
    "h": 142.3
  },
  "luminance": 0.31871
}

Semantic roles & 50–950 ramp

primary
#31B02A
secondary
#C170C6
accent
#43E5DC
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #31B02A

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

Preview Lab → · Contrast checker → · Palette generator →

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