#31A33F#31A33F

#31A33F is a light, vivid green. Relative luminance 0.272; OKLCH L 63.1% C 0.172 H 145.0°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#31A33F
RGBrgb(49, 163, 63)
HSLhsl(127, 54%, 42%)
HSVhsv(127, 70%, 64%)
CMYKcmyk(69.9%, 0%, 61.3%, 36.1%)
CIE-LABlab(59.16, -52.23, 41.99)
CIE-LCHlch(59.16, 67.02, 141.20°)
OKLaboklab(63.06% -0.1412 0.0987)
OKLCHoklch(63.06% 0.172 145)
XYZxyz(15.2600, 27.2046, 9.1485)
Luminance0.2721 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A33F #A33195
analogous
#5CA331 #31A33F #31A378
triadic
#31A33F #3F31A3 #A33F31
tetradic
#31A33F #315CA3 #A33195 #A37831
square
#31A33F #315CA3 #A33195 #A37831
split-complementary
#31A33F #7831A3 #A3315C
monochromatic
#15451B #23742D #31A33F #49C859 #78D684

Accessibility & contrast

On white

3.26
#31A33F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#31A33F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A33F
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A33F#FFFFFF#000000##000000
##31A33F1.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69434
Deuteranopia (green-blind)
#988B47
Tritanopia (blue-blind)
#059F8E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #31a33f;
/* rgb */ color: rgb(49, 163, 63);
/* oklch */ color: oklch(63.1% 0.172 145.0);
Tailwind
colors: {
  custom: {
    50: '#79bf78',
    500: '#31a33f',
    950: '#000000',
  },
}
SCSS
$custom: #31a33f;
$custom-light: #79bf78;
$custom-dark: #000000;
JSON
{
  "hex": "#31a33f",
  "rgb": {
    "r": 49,
    "g": 163,
    "b": 63
  },
  "hsl": {
    "h": 127.368,
    "s": 53.774,
    "l": 41.569
  },
  "oklch": {
    "l": 0.63059,
    "c": 0.17224,
    "h": 145
  },
  "luminance": 0.27206
}

Semantic roles & 50–950 ramp

primary
#31A33F
secondary
#BF71B5
accent
#4BCBDD
background
#F7FBF7
surface
#EEF7ED
border
#C9D0C8
text
#0A1209
muted
#7C817B

Preview Lab

Preview with #31A33F

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

Preview Lab → · Contrast checker → · Palette generator →

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