#31AA30#31AA30

#31AA30 is a light, vivid green. Relative luminance 0.296; OKLCH L 64.8% C 0.191 H 142.9°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#31AA30
RGBrgb(49, 170, 48)
HSLhsl(120, 56%, 43%)
HSVhsv(120, 72%, 67%)
CMYKcmyk(71.2%, 0%, 71.8%, 33.3%)
CIE-LABlab(61.32, -56.20, 50.75)
CIE-LCHlch(61.32, 75.72, 137.92°)
OKLaboklab(64.81% -0.1526 0.1156)
OKLCHoklch(64.81% 0.191 142.9)
XYZxyz(16.1739, 29.6140, 7.6594)
Luminance0.2962 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AA30 #A930AA
analogous
#6EAA30 #31AA30 #30AA6C
triadic
#31AA30 #3031AA #AA3031
tetradic
#31AA30 #306EAA #A930AA #AA6C30
square
#31AA30 #306EAA #A930AA #AA6C30
split-complementary
#31AA30 #6C30AA #AA306E
monochromatic
#154B15 #237A23 #31AA30 #4CCC4B #7CDA7B

Accessibility & contrast

On white

3.03
#31AA30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#31AA30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31AA30
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AA30#FFFFFF#000000##000000
##31AA301.003.036.926.92
#FFFFFF3.031.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A1C
Deuteranopia (green-blind)
#A0903C
Tritanopia (blue-blind)
#08A592
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #31aa30;
/* rgb */ color: rgb(49, 170, 48);
/* oklch */ color: oklch(64.8% 0.191 142.9);
Tailwind
colors: {
  custom: {
    50: '#7bc46f',
    500: '#31aa30',
    950: '#000000',
  },
}
SCSS
$custom: #31aa30;
$custom-light: #7bc46f;
$custom-dark: #000000;
JSON
{
  "hex": "#31aa30",
  "rgb": {
    "r": 49,
    "g": 170,
    "b": 48
  },
  "hsl": {
    "h": 119.508,
    "s": 55.963,
    "l": 42.745
  },
  "oklch": {
    "l": 0.64805,
    "c": 0.19144,
    "h": 142.9
  },
  "luminance": 0.29616
}

Semantic roles & 50–950 ramp

primary
#31AA30
secondary
#C174C2
accent
#49DFDE
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #31AA30

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

Preview Lab → · Contrast checker → · Palette generator →

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