#31A339#31A339

#31A339 is a light, vivid green. Relative luminance 0.271; OKLCH L 63.0% C 0.177 H 144.1°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#31A339
RGBrgb(49, 163, 57)
HSLhsl(124, 54%, 42%)
HSVhsv(124, 70%, 64%)
CMYKcmyk(69.9%, 0%, 65%, 36.1%)
CIE-LABlab(59.10, -52.92, 44.65)
CIE-LCHlch(59.10, 69.24, 139.85°)
OKLaboklab(62.99% -0.1433 0.1038)
OKLCHoklch(62.99% 0.177 144.1)
XYZxyz(15.1014, 27.1411, 8.3130)
Luminance0.2714 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A339 #A3319B
analogous
#62A331 #31A339 #31A372
triadic
#31A339 #3931A3 #A33931
tetradic
#31A339 #3162A3 #A3319B #A37231
square
#31A339 #3162A3 #A3319B #A37231
split-complementary
#31A339 #7231A3 #A33162
monochromatic
#154518 #237429 #31A339 #49C852 #78D67F

Accessibility & contrast

On white

3.27
#31A339 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#31A339 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A339
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A339#FFFFFF#000000##000000
##31A3391.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6942C
Deuteranopia (green-blind)
#998B42
Tritanopia (blue-blind)
#0A9F8D
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #31a339;
/* rgb */ color: rgb(49, 163, 57);
/* oklch */ color: oklch(63.0% 0.177 144.1);
Tailwind
colors: {
  custom: {
    50: '#79bf74',
    500: '#31a339',
    950: '#000000',
  },
}
SCSS
$custom: #31a339;
$custom-light: #79bf74;
$custom-dark: #000000;
JSON
{
  "hex": "#31a339",
  "rgb": {
    "r": 49,
    "g": 163,
    "b": 57
  },
  "hsl": {
    "h": 124.211,
    "s": 53.774,
    "l": 41.569
  },
  "oklch": {
    "l": 0.62992,
    "c": 0.17691,
    "h": 144.1
  },
  "luminance": 0.27143
}

Semantic roles & 50–950 ramp

primary
#31A339
secondary
#BF71B9
accent
#4BD3DD
background
#F8FBF7
surface
#EFF7ED
border
#CAD0C8
text
#0A1208
muted
#7C817B

Preview Lab

Preview with #31A339

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

Preview Lab → · Contrast checker → · Palette generator →

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