#31AA28#31AA28

#31AA28 is a light, vivid green. Relative luminance 0.296; OKLCH L 64.7% C 0.196 H 142.1°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#31AA28
RGBrgb(49, 170, 40)
HSLhsl(116, 62%, 41%)
HSVhsv(116, 76%, 67%)
CMYKcmyk(71.2%, 0%, 76.5%, 33.3%)
CIE-LABlab(61.27, -56.84, 53.61)
CIE-LCHlch(61.27, 78.13, 136.67°)
OKLaboklab(64.74% -0.1547 0.1205)
OKLCHoklch(64.74% 0.196 142.1)
XYZxyz(16.0234, 29.5539, 6.8671)
Luminance0.2956 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AA28 #A128AA
analogous
#72AA28 #31AA28 #28AA60
triadic
#31AA28 #2831AA #AA2831
tetradic
#31AA28 #2872AA #A128AA #AA6028
square
#31AA28 #2872AA #A128AA #AA6028
split-complementary
#31AA28 #6028AA #AA2872
monochromatic
#144711 #23781C #31AA28 #48D23E #77DD6F

Accessibility & contrast

On white

3.04
#31AA28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#31AA28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31AA28
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AA28#FFFFFF#000000##000000
##31AA281.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A09
Deuteranopia (green-blind)
#A09036
Tritanopia (blue-blind)
#0DA591
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #31aa28;
/* rgb */ color: rgb(49, 170, 40);
/* oklch */ color: oklch(64.7% 0.196 142.1);
Tailwind
colors: {
  custom: {
    50: '#7cc46b',
    500: '#31aa28',
    950: '#000000',
  },
}
SCSS
$custom: #31aa28;
$custom-light: #7cc46b;
$custom-dark: #000000;
JSON
{
  "hex": "#31aa28",
  "rgb": {
    "r": 49,
    "g": 170,
    "b": 40
  },
  "hsl": {
    "h": 115.846,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.64744,
    "c": 0.19612,
    "h": 142.1
  },
  "luminance": 0.29556
}

Semantic roles & 50–950 ramp

primary
#31AA28
secondary
#BE6AC4
accent
#43E5DA
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #31AA28

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

Preview Lab → · Contrast checker → · Palette generator →

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