#31B330#31B330

#31B330 is a light, highly saturated green. Relative luminance 0.331; OKLCH L 67.2% C 0.202 H 142.8°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#31B330
RGBrgb(49, 179, 48)
HSLhsl(120, 58%, 45%)
HSVhsv(120, 73%, 70%)
CMYKcmyk(72.6%, 0%, 73.2%, 29.8%)
CIE-LABlab(64.25, -59.18, 53.75)
CIE-LCHlch(64.25, 79.95, 137.75°)
OKLaboklab(67.23% -0.1607 0.1218)
OKLCHoklch(67.23% 0.202 142.8)
XYZxyz(17.9191, 33.1046, 8.2412)
Luminance0.3311 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B330 #B230B3
analogous
#73B330 #31B330 #30B371
triadic
#31B330 #3031B3 #B33031
tetradic
#31B330 #3073B3 #B230B3 #B37130
square
#31B330 #3073B3 #B230B3 #B37130
split-complementary
#31B330 #7130B3 #B33073
monochromatic
#175216 #248323 #31B330 #51D050 #81DD80

Accessibility & contrast

On white

2.76
#31B330 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#31B330 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B330
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B330#FFFFFF#000000##000000
##31B3301.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A218
Deuteranopia (green-blind)
#A8983E
Tritanopia (blue-blind)
#00AE99
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #31b330;
/* rgb */ color: rgb(49, 179, 48);
/* oklch */ color: oklch(67.2% 0.202 142.8);
Tailwind
colors: {
  custom: {
    50: '#7dcb71',
    500: '#31b330',
    950: '#000000',
  },
}
SCSS
$custom: #31b330;
$custom-light: #7dcb71;
$custom-dark: #000000;
JSON
{
  "hex": "#31b330",
  "rgb": {
    "r": 49,
    "g": 179,
    "b": 48
  },
  "hsl": {
    "h": 119.542,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.67233,
    "c": 0.20168,
    "h": 142.8
  },
  "luminance": 0.33107
}

Semantic roles & 50–950 ramp

primary
#31B330
secondary
#C579C6
accent
#47E1E0
background
#F8FCF7
surface
#EFF9ED
border
#CAD2C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #31B330

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

Preview Lab → · Contrast checker → · Palette generator →

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