#31A428#31A428

#31A428 is a light, vivid green. Relative luminance 0.274; OKLCH L 63.1% C 0.189 H 142.1°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#31A428
RGBrgb(49, 164, 40)
HSLhsl(116, 61%, 40%)
HSVhsv(116, 76%, 64%)
CMYKcmyk(70.1%, 0%, 75.6%, 35.7%)
CIE-LABlab(59.30, -54.83, 51.66)
CIE-LCHlch(59.30, 75.34, 136.70°)
OKLaboklab(63.11% -0.1493 0.1164)
OKLCHoklch(63.11% 0.189 142.1)
XYZxyz(14.9242, 27.3555, 6.5007)
Luminance0.2736 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A428 #9B28A4
analogous
#6FA428 #31A428 #28A45D
triadic
#31A428 #2831A4 #A42831
tetradic
#31A428 #286FA4 #9B28A4 #A45D28
square
#31A428 #286FA4 #9B28A4 #A45D28
split-complementary
#31A428 #5D28A4 #A4286F
monochromatic
#144210 #22731C #31A428 #45CF3A #74DB6B

Accessibility & contrast

On white

3.25
#31A428 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#31A428 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A428
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A428#FFFFFF#000000##000000
##31A4281.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8940E
Deuteranopia (green-blind)
#9B8B35
Tritanopia (blue-blind)
#129F8C
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #31a428;
/* rgb */ color: rgb(49, 164, 40);
/* oklch */ color: oklch(63.1% 0.189 142.1);
Tailwind
colors: {
  custom: {
    50: '#7ac06b',
    500: '#31a428',
    950: '#000000',
  },
}
SCSS
$custom: #31a428;
$custom-light: #7ac06b;
$custom-dark: #000000;
JSON
{
  "hex": "#31a428",
  "rgb": {
    "r": 49,
    "g": 164,
    "b": 40
  },
  "hsl": {
    "h": 115.645,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.63114,
    "c": 0.18934,
    "h": 142.1
  },
  "luminance": 0.27357
}

Semantic roles & 50–950 ramp

primary
#31A428
secondary
#BB66C1
accent
#44E4D8
background
#F8FBF6
surface
#EFF7EC
border
#CAD0C7
text
#0B1207
muted
#7C817A

Preview Lab

Preview with #31A428

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

Preview Lab → · Contrast checker → · Palette generator →

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