#31AF45#31AF45

#31AF45 is a light, vivid green. Relative luminance 0.317; OKLCH L 66.4% C 0.182 H 145.6°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#31AF45
RGBrgb(49, 175, 69)
HSLhsl(130, 56%, 44%)
HSVhsv(130, 72%, 69%)
CMYKcmyk(72%, 0%, 60.6%, 31.4%)
CIE-LABlab(63.13, -55.70, 43.78)
CIE-LCHlch(63.13, 70.85, 141.84°)
OKLaboklab(66.36% -0.1504 0.1031)
OKLCHoklch(66.36% 0.182 145.6)
XYZxyz(17.6695, 31.7406, 10.8244)
Luminance0.3174 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AF45 #AF319B
analogous
#5CAF31 #31AF45 #31AF84
triadic
#31AF45 #4531AF #AF4531
tetradic
#31AF45 #315CAF #AF319B #AF8431
square
#31AF45 #315CAF #AF319B #AF8431
split-complementary
#31AF45 #8431AF #AF315C
monochromatic
#164F1F #247F32 #31AF45 #4FCE63 #7FDB8E

Accessibility & contrast

On white

2.86
#31AF45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#31AF45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AF45
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AF45#FFFFFF#000000##000000
##31AF451.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29F3A
Deuteranopia (green-blind)
#A3954E
Tritanopia (blue-blind)
#00AB98
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #31af45;
/* rgb */ color: rgb(49, 175, 69);
/* oklch */ color: oklch(66.4% 0.182 145.6);
Tailwind
colors: {
  custom: {
    50: '#7bc87c',
    500: '#31af45',
    950: '#000000',
  },
}
SCSS
$custom: #31af45;
$custom-light: #7bc87c;
$custom-dark: #000000;
JSON
{
  "hex": "#31af45",
  "rgb": {
    "r": 49,
    "g": 175,
    "b": 69
  },
  "hsl": {
    "h": 129.524,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.66363,
    "c": 0.18228,
    "h": 145.6
  },
  "luminance": 0.31743
}

Semantic roles & 50–950 ramp

primary
#31AF45
secondary
#C478B8
accent
#48C8E0
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0B130A
muted
#7C827C

Preview Lab

Preview with #31AF45

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

Preview Lab → · Contrast checker → · Palette generator →

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