#31AA2C#31AA2C

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

Color values

HEX#31AA2C
RGBrgb(49, 170, 44)
HSLhsl(118, 59%, 42%)
HSVhsv(118, 74%, 67%)
CMYKcmyk(71.2%, 0%, 74.1%, 33.3%)
CIE-LABlab(61.29, -56.53, 52.22)
CIE-LCHlch(61.29, 76.96, 137.27°)
OKLaboklab(64.77% -0.1537 0.1181)
OKLCHoklch(64.77% 0.194 142.5)
XYZxyz(16.0950, 29.5825, 7.2442)
Luminance0.2958 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AA2C #A52CAA
analogous
#70AA2C #31AA2C #2CAA66
triadic
#31AA2C #2C31AA #AA2C31
tetradic
#31AA2C #2C70AA #A52CAA #AA662C
square
#31AA2C #2C70AA #A52CAA #AA662C
split-complementary
#31AA2C #662CAA #AA2C70
monochromatic
#154913 #23791F #31AA2C #4ACF44 #79DB75

Accessibility & contrast

On white

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

On black

6.92
#31AA2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31AA2C
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AA2C#FFFFFF#000000##000000
##31AA2C1.003.046.926.92
#FFFFFF3.041.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A14
Deuteranopia (green-blind)
#A09039
Tritanopia (blue-blind)
#0BA592
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #31aa2c;
/* rgb */ color: rgb(49, 170, 44);
/* oklch */ color: oklch(64.8% 0.194 142.5);
Tailwind
colors: {
  custom: {
    50: '#7cc46d',
    500: '#31aa2c',
    950: '#000000',
  },
}
SCSS
$custom: #31aa2c;
$custom-light: #7cc46d;
$custom-dark: #000000;
JSON
{
  "hex": "#31aa2c",
  "rgb": {
    "r": 49,
    "g": 170,
    "b": 44
  },
  "hsl": {
    "h": 117.619,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.64773,
    "c": 0.19387,
    "h": 142.5
  },
  "luminance": 0.29584
}

Semantic roles & 50–950 ramp

primary
#31AA2C
secondary
#C06FC3
accent
#46E2DC
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #31AA2C

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

Preview Lab → · Contrast checker → · Palette generator →

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