#31AA38#31AA38

#31AA38 is a light, vivid green. Relative luminance 0.297; OKLCH L 64.9% C 0.186 H 143.8°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#31AA38
RGBrgb(49, 170, 56)
HSLhsl(123, 55%, 43%)
HSVhsv(123, 71%, 67%)
CMYKcmyk(71.2%, 0%, 67.1%, 33.3%)
CIE-LABlab(61.38, -55.45, 47.58)
CIE-LCHlch(61.38, 73.06, 139.37°)
OKLaboklab(64.88% -0.1502 0.1099)
OKLCHoklch(64.88% 0.186 143.8)
XYZxyz(16.3541, 29.6861, 8.6087)
Luminance0.2969 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AA38 #AA31A3
analogous
#66AA31 #31AA38 #31AA74
triadic
#31AA38 #3831AA #AA3831
tetradic
#31AA38 #3166AA #AA31A3 #AA7431
square
#31AA38 #3166AA #AA31A3 #AA7431
split-complementary
#31AA38 #7431AA #AA3166
monochromatic
#164B19 #237A28 #31AA38 #4DCC54 #7CD982

Accessibility & contrast

On white

3.03
#31AA38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#31AA38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31AA38
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AA38#FFFFFF#000000##000000
##31AA381.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9A29
Deuteranopia (green-blind)
#9F9042
Tritanopia (blue-blind)
#02A593
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #31aa38;
/* rgb */ color: rgb(49, 170, 56);
/* oklch */ color: oklch(64.9% 0.186 143.8);
Tailwind
colors: {
  custom: {
    50: '#7bc474',
    500: '#31aa38',
    950: '#000000',
  },
}
SCSS
$custom: #31aa38;
$custom-light: #7bc474;
$custom-dark: #000000;
JSON
{
  "hex": "#31aa38",
  "rgb": {
    "r": 49,
    "g": 170,
    "b": 56
  },
  "hsl": {
    "h": 123.471,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.64877,
    "c": 0.18609,
    "h": 143.8
  },
  "luminance": 0.29688
}

Semantic roles & 50–950 ramp

primary
#31AA38
secondary
#C275BD
accent
#49D6DF
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #31AA38

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

Preview Lab → · Contrast checker → · Palette generator →

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