#31AF30#31AF30

#31AF30 is a light, vivid green. Relative luminance 0.315; OKLCH L 66.2% C 0.197 H 142.8°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#31AF30
RGBrgb(49, 175, 48)
HSLhsl(120, 57%, 44%)
HSVhsv(120, 73%, 69%)
CMYKcmyk(72%, 0%, 72.6%, 31.4%)
CIE-LABlab(62.95, -57.87, 52.43)
CIE-LCHlch(62.95, 78.09, 137.82°)
OKLaboklab(66.16% -0.1572 0.1191)
OKLCHoklch(66.16% 0.197 142.8)
XYZxyz(17.1291, 31.5244, 7.9778)
Luminance0.3153 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AF30 #AE30AF
analogous
#70AF30 #31AF30 #30AF6E
triadic
#31AF30 #3031AF #AF3031
tetradic
#31AF30 #3070AF #AE30AF #AF6E30
square
#31AF30 #3070AF #AE30AF #AF6E30
split-complementary
#31AF30 #6E30AF #AF3070
monochromatic
#164F16 #247F23 #31AF30 #4FCE4E #7FDC7E

Accessibility & contrast

On white

2.87
#31AF30 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#31AF30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AF30
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AF30#FFFFFF#000000##000000
##31AF301.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E1A
Deuteranopia (green-blind)
#A4943D
Tritanopia (blue-blind)
#01AA96
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #31af30;
/* rgb */ color: rgb(49, 175, 48);
/* oklch */ color: oklch(66.2% 0.197 142.8);
Tailwind
colors: {
  custom: {
    50: '#7cc870',
    500: '#31af30',
    950: '#000000',
  },
}
SCSS
$custom: #31af30;
$custom-light: #7cc870;
$custom-dark: #000000;
JSON
{
  "hex": "#31af30",
  "rgb": {
    "r": 49,
    "g": 175,
    "b": 48
  },
  "hsl": {
    "h": 119.528,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.66156,
    "c": 0.19716,
    "h": 142.8
  },
  "luminance": 0.31526
}

Semantic roles & 50–950 ramp

primary
#31AF30
secondary
#C476C4
accent
#48E0DF
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #31AF30

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

Preview Lab → · Contrast checker → · Palette generator →

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