#31A336#31A336

#31A336 is a light, vivid green. Relative luminance 0.271; OKLCH L 63.0% C 0.179 H 143.7°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#31A336
RGBrgb(49, 163, 54)
HSLhsl(123, 54%, 42%)
HSVhsv(123, 70%, 64%)
CMYKcmyk(69.9%, 0%, 66.9%, 36.1%)
CIE-LABlab(59.08, -53.24, 45.92)
CIE-LCHlch(59.08, 70.31, 139.22°)
OKLaboklab(62.96% -0.1443 0.1061)
OKLCHoklch(62.96% 0.179 143.7)
XYZxyz(15.0287, 27.1121, 7.9304)
Luminance0.2711 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A336 #A3319E
analogous
#65A331 #31A336 #31A36F
triadic
#31A336 #3631A3 #A33631
tetradic
#31A336 #3165A3 #A3319E #A36F31
square
#31A336 #3165A3 #A3319E #A36F31
split-complementary
#31A336 #6F31A3 #A33165
monochromatic
#154517 #237426 #31A336 #49C84F #78D67C

Accessibility & contrast

On white

3.27
#31A336 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#31A336 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A336
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A336#FFFFFF#000000##000000
##31A3361.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69428
Deuteranopia (green-blind)
#998B40
Tritanopia (blue-blind)
#0D9E8D
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #31a336;
/* rgb */ color: rgb(49, 163, 54);
/* oklch */ color: oklch(63.0% 0.179 143.7);
Tailwind
colors: {
  custom: {
    50: '#79bf72',
    500: '#31a336',
    950: '#000000',
  },
}
SCSS
$custom: #31a336;
$custom-light: #79bf72;
$custom-dark: #000000;
JSON
{
  "hex": "#31a336",
  "rgb": {
    "r": 49,
    "g": 163,
    "b": 54
  },
  "hsl": {
    "h": 122.632,
    "s": 53.774,
    "l": 41.569
  },
  "oklch": {
    "l": 0.62961,
    "c": 0.17913,
    "h": 143.7
  },
  "luminance": 0.27114
}

Semantic roles & 50–950 ramp

primary
#31A336
secondary
#BF71BB
accent
#4BD7DD
background
#F8FBF7
surface
#EFF7ED
border
#CAD0C8
text
#0A1208
muted
#7C817B

Preview Lab

Preview with #31A336

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

Preview Lab → · Contrast checker → · Palette generator →

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