#31A028#31A028

#31A028 is a light, vivid green. Relative luminance 0.259; OKLCH L 62.0% C 0.185 H 142.0°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#31A028
RGBrgb(49, 160, 40)
HSLhsl(116, 60%, 39%)
HSVhsv(116, 75%, 63%)
CMYKcmyk(69.4%, 0%, 75%, 37.3%)
CIE-LABlab(57.99, -53.47, 50.35)
CIE-LCHlch(57.99, 73.45, 136.72°)
OKLaboklab(62.02% -0.1456 0.1137)
OKLCHoklch(62.02% 0.185 142)
XYZxyz(14.2196, 25.9463, 6.2658)
Luminance0.2595 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A028 #9728A0
analogous
#6DA028 #31A028 #28A05B
triadic
#31A028 #2831A0 #A02831
tetradic
#31A028 #286DA0 #9728A0 #A05B28
square
#31A028 #286DA0 #9728A0 #A05B28
split-complementary
#31A028 #5B28A0 #A0286D
monochromatic
#133E10 #226F1C #31A028 #43CD38 #71D969

Accessibility & contrast

On white

3.39
#31A028 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#31A028 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A028
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A028#FFFFFF#000000##000000
##31A0281.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49110
Deuteranopia (green-blind)
#978835
Tritanopia (blue-blind)
#169B89
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #31a028;
/* rgb */ color: rgb(49, 160, 40);
/* oklch */ color: oklch(62.0% 0.185 142.0);
Tailwind
colors: {
  custom: {
    50: '#7abd6a',
    500: '#31a028',
    950: '#000000',
  },
}
SCSS
$custom: #31a028;
$custom-light: #7abd6a;
$custom-dark: #000000;
JSON
{
  "hex": "#31a028",
  "rgb": {
    "r": 49,
    "g": 160,
    "b": 40
  },
  "hsl": {
    "h": 115.5,
    "s": 60,
    "l": 39.216
  },
  "oklch": {
    "l": 0.62022,
    "c": 0.18476,
    "h": 142
  },
  "luminance": 0.25948
}

Semantic roles & 50–950 ramp

primary
#31A028
secondary
#B964C0
accent
#45E3D7
background
#F8FBF6
surface
#EFF7EB
border
#CAD0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #31A028

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

Preview Lab → · Contrast checker → · Palette generator →

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