#31AA34#31AA34

#31AA34 is a light, vivid green. Relative luminance 0.296; OKLCH L 64.8% C 0.189 H 143.3°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#31AA34
RGBrgb(49, 170, 52)
HSLhsl(121, 55%, 43%)
HSVhsv(121, 71%, 67%)
CMYKcmyk(71.2%, 0%, 69.4%, 33.3%)
CIE-LABlab(61.35, -55.84, 49.20)
CIE-LCHlch(61.35, 74.42, 138.62°)
OKLaboklab(64.84% -0.1514 0.1128)
OKLCHoklch(64.84% 0.189 143.3)
XYZxyz(16.2602, 29.6486, 8.1140)
Luminance0.2965 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AA34 #AA31A7
analogous
#6AAA31 #31AA34 #31AA71
triadic
#31AA34 #3431AA #AA3431
tetradic
#31AA34 #316AAA #AA31A7 #AA7131
square
#31AA34 #316AAA #AA31A7 #AA7131
split-complementary
#31AA34 #7131AA #AA316A
monochromatic
#164B17 #237A25 #31AA34 #4DCC50 #7CD97E

Accessibility & contrast

On white

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

On black

6.93
#31AA34 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31AA34
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AA34#FFFFFF#000000##000000
##31AA341.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A23
Deuteranopia (green-blind)
#A0903F
Tritanopia (blue-blind)
#05A592
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #31aa34;
/* rgb */ color: rgb(49, 170, 52);
/* oklch */ color: oklch(64.8% 0.189 143.3);
Tailwind
colors: {
  custom: {
    50: '#7bc472',
    500: '#31aa34',
    950: '#000000',
  },
}
SCSS
$custom: #31aa34;
$custom-light: #7bc472;
$custom-dark: #000000;
JSON
{
  "hex": "#31aa34",
  "rgb": {
    "r": 49,
    "g": 170,
    "b": 52
  },
  "hsl": {
    "h": 121.488,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.64839,
    "c": 0.18885,
    "h": 143.3
  },
  "luminance": 0.2965
}

Semantic roles & 50–950 ramp

primary
#31AA34
secondary
#C275C0
accent
#49DBDF
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #31AA34

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

Preview Lab → · Contrast checker → · Palette generator →

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