#31A330#31A330

#31A330 is a light, vivid green. Relative luminance 0.271; OKLCH L 62.9% C 0.183 H 142.9°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#31A330
RGBrgb(49, 163, 48)
HSLhsl(119, 55%, 41%)
HSVhsv(119, 71%, 64%)
CMYKcmyk(69.9%, 0%, 70.6%, 36.1%)
CIE-LABlab(59.03, -53.82, 48.36)
CIE-LCHlch(59.03, 72.36, 138.06°)
OKLaboklab(62.91% -0.1462 0.1106)
OKLCHoklch(62.91% 0.183 142.9)
XYZxyz(14.8964, 27.0592, 7.2336)
Luminance0.2706 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A330 #A230A3
analogous
#6BA330 #31A330 #30A369
triadic
#31A330 #3031A3 #A33031
tetradic
#31A330 #306BA3 #A230A3 #A36930
square
#31A330 #306BA3 #A230A3 #A36930
split-complementary
#31A330 #6930A3 #A3306B
monochromatic
#154414 #237422 #31A330 #48C947 #77D777

Accessibility & contrast

On white

3.28
#31A330 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#31A330 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A330
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A330#FFFFFF#000000##000000
##31A3301.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7941F
Deuteranopia (green-blind)
#998B3B
Tritanopia (blue-blind)
#109E8C
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #31a330;
/* rgb */ color: rgb(49, 163, 48);
/* oklch */ color: oklch(62.9% 0.183 142.9);
Tailwind
colors: {
  custom: {
    50: '#7abf6f',
    500: '#31a330',
    950: '#000000',
  },
}
SCSS
$custom: #31a330;
$custom-light: #7abf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#31a330",
  "rgb": {
    "r": 49,
    "g": 163,
    "b": 48
  },
  "hsl": {
    "h": 119.478,
    "s": 54.502,
    "l": 41.373
  },
  "oklch": {
    "l": 0.62905,
    "c": 0.18329,
    "h": 142.9
  },
  "luminance": 0.27061
}

Semantic roles & 50–950 ramp

primary
#31A330
secondary
#BE70BF
accent
#4ADEDD
background
#F8FBF6
surface
#EFF7EC
border
#CAD0C7
text
#0A1208
muted
#7C817B

Preview Lab

Preview with #31A330

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

Preview Lab → · Contrast checker → · Palette generator →

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