#31AF38#31AF38

#31AF38 is a light, vivid green. Relative luminance 0.316; OKLCH L 66.2% C 0.192 H 143.7°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#31AF38
RGBrgb(49, 175, 56)
HSLhsl(123, 56%, 44%)
HSVhsv(123, 72%, 69%)
CMYKcmyk(72%, 0%, 68%, 31.4%)
CIE-LABlab(63.01, -57.14, 49.34)
CIE-LCHlch(63.01, 75.49, 139.19°)
OKLaboklab(66.22% -0.1548 0.1136)
OKLCHoklch(66.22% 0.192 143.7)
XYZxyz(17.3093, 31.5965, 8.9271)
Luminance0.3160 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AF38 #AF31A8
analogous
#69AF31 #31AF38 #31AF77
triadic
#31AF38 #3831AF #AF3831
tetradic
#31AF38 #3169AF #AF31A8 #AF7731
square
#31AF38 #3169AF #AF31A8 #AF7731
split-complementary
#31AF38 #7731AF #AF3169
monochromatic
#164F19 #247F29 #31AF38 #4FCE56 #7FDB84

Accessibility & contrast

On white

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

On black

7.32
#31AF38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AF38
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AF38#FFFFFF#000000##000000
##31AF381.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29F28
Deuteranopia (green-blind)
#A49543
Tritanopia (blue-blind)
#00AA97
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #31af38;
/* rgb */ color: rgb(49, 175, 56);
/* oklch */ color: oklch(66.2% 0.192 143.7);
Tailwind
colors: {
  custom: {
    50: '#7cc874',
    500: '#31af38',
    950: '#000000',
  },
}
SCSS
$custom: #31af38;
$custom-light: #7cc874;
$custom-dark: #000000;
JSON
{
  "hex": "#31af38",
  "rgb": {
    "r": 49,
    "g": 175,
    "b": 56
  },
  "hsl": {
    "h": 123.333,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.66225,
    "c": 0.19198,
    "h": 143.7
  },
  "luminance": 0.31598
}

Semantic roles & 50–950 ramp

primary
#31AF38
secondary
#C478C0
accent
#48D7E0
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #31AF38

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

Preview Lab → · Contrast checker → · Palette generator →

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