#31A528#31A528

#31A528 is a light, vivid green. Relative luminance 0.277; OKLCH L 63.4% C 0.190 H 142.1°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#31A528
RGBrgb(49, 165, 40)
HSLhsl(116, 61%, 40%)
HSVhsv(116, 76%, 65%)
CMYKcmyk(70.3%, 0%, 75.8%, 35.3%)
CIE-LABlab(59.63, -55.17, 51.99)
CIE-LCHlch(59.63, 75.81, 136.70°)
OKLaboklab(63.39% -0.1502 0.1171)
OKLCHoklch(63.39% 0.19 142.1)
XYZxyz(15.1039, 27.7148, 6.5606)
Luminance0.2772 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A528 #9C28A5
analogous
#6FA528 #31A528 #28A55D
triadic
#31A528 #2831A5 #A52831
tetradic
#31A528 #286FA5 #9C28A5 #A55D28
square
#31A528 #286FA5 #9C28A5 #A55D28
split-complementary
#31A528 #5D28A5 #A5286F
monochromatic
#144210 #22741C #31A528 #45CF3B #74DB6C

Accessibility & contrast

On white

3.21
#31A528 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#31A528 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A528
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A528#FFFFFF#000000##000000
##31A5281.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9950D
Deuteranopia (green-blind)
#9C8C36
Tritanopia (blue-blind)
#12A08D
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #31a528;
/* rgb */ color: rgb(49, 165, 40);
/* oklch */ color: oklch(63.4% 0.190 142.1);
Tailwind
colors: {
  custom: {
    50: '#7bc16b',
    500: '#31a528',
    950: '#000000',
  },
}
SCSS
$custom: #31a528;
$custom-light: #7bc16b;
$custom-dark: #000000;
JSON
{
  "hex": "#31a528",
  "rgb": {
    "r": 49,
    "g": 165,
    "b": 40
  },
  "hsl": {
    "h": 115.68,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.63386,
    "c": 0.19048,
    "h": 142.1
  },
  "luminance": 0.27716
}

Semantic roles & 50–950 ramp

primary
#31A528
secondary
#BB67C2
accent
#44E4D9
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1207
muted
#7C817A

Preview Lab

Preview with #31A528

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

Preview Lab → · Contrast checker → · Palette generator →

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