#31AF2E#31AF2E

#31AF2E is a light, vivid green. Relative luminance 0.315; OKLCH L 66.1% C 0.198 H 142.7°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#31AF2E
RGBrgb(49, 175, 46)
HSLhsl(119, 58%, 43%)
HSVhsv(119, 74%, 69%)
CMYKcmyk(72%, 0%, 73.7%, 31.4%)
CIE-LABlab(62.93, -58.03, 53.15)
CIE-LCHlch(62.93, 78.70, 137.51°)
OKLaboklab(66.14% -0.1577 0.1203)
OKLCHoklch(66.14% 0.198 142.7)
XYZxyz(17.0887, 31.5083, 7.7653)
Luminance0.3151 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AF2E #AC2EAF
analogous
#71AF2E #31AF2E #2EAF6B
triadic
#31AF2E #2E31AF #AF2E31
tetradic
#31AF2E #2E71AF #AC2EAF #AF6B2E
square
#31AF2E #2E71AF #AC2EAF #AF6B2E
split-complementary
#31AF2E #6B2EAF #AF2E71
monochromatic
#164E15 #237F21 #31AF2E #4ED04B #7DDC7B

Accessibility & contrast

On white

2.88
#31AF2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#31AF2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AF2E
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AF2E#FFFFFF#000000##000000
##31AF2E1.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E16
Deuteranopia (green-blind)
#A5943C
Tritanopia (blue-blind)
#03AA96
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #31af2e;
/* rgb */ color: rgb(49, 175, 46);
/* oklch */ color: oklch(66.1% 0.198 142.7);
Tailwind
colors: {
  custom: {
    50: '#7dc86f',
    500: '#31af2e',
    950: '#000000',
  },
}
SCSS
$custom: #31af2e;
$custom-light: #7dc86f;
$custom-dark: #000000;
JSON
{
  "hex": "#31af2e",
  "rgb": {
    "r": 49,
    "g": 175,
    "b": 46
  },
  "hsl": {
    "h": 118.605,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.6614,
    "c": 0.19836,
    "h": 142.7
  },
  "luminance": 0.3151
}

Semantic roles & 50–950 ramp

primary
#31AF2E
secondary
#C374C5
accent
#46E2DE
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #31AF2E

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

Preview Lab → · Contrast checker → · Palette generator →

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