#31A333#31A333

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

Color values

HEX#31A333
RGBrgb(49, 163, 51)
HSLhsl(121, 54%, 42%)
HSVhsv(121, 70%, 64%)
CMYKcmyk(69.9%, 0%, 68.7%, 36.1%)
CIE-LABlab(59.05, -53.54, 47.16)
CIE-LCHlch(59.05, 71.35, 138.63°)
OKLaboklab(62.93% -0.1453 0.1084)
OKLCHoklch(62.93% 0.181 143.3)
XYZxyz(14.9604, 27.0848, 7.5708)
Luminance0.2709 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A333 #A331A1
analogous
#68A331 #31A333 #31A36C
triadic
#31A333 #3331A3 #A33331
tetradic
#31A333 #3168A3 #A331A1 #A36C31
square
#31A333 #3168A3 #A331A1 #A36C31
split-complementary
#31A333 #6C31A3 #A33168
monochromatic
#154516 #237424 #31A333 #49C84B #78D67A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31A333#FFFFFF#000000##000000
##31A3331.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)
#A69423
Deuteranopia (green-blind)
#998B3E
Tritanopia (blue-blind)
#0E9E8C
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #31a333;
/* rgb */ color: rgb(49, 163, 51);
/* oklch */ color: oklch(62.9% 0.181 143.3);
Tailwind
colors: {
  custom: {
    50: '#7abf70',
    500: '#31a333',
    950: '#000000',
  },
}
SCSS
$custom: #31a333;
$custom-light: #7abf70;
$custom-dark: #000000;
JSON
{
  "hex": "#31a333",
  "rgb": {
    "r": 49,
    "g": 163,
    "b": 51
  },
  "hsl": {
    "h": 121.053,
    "s": 53.774,
    "l": 41.569
  },
  "oklch": {
    "l": 0.62932,
    "c": 0.18126,
    "h": 143.3
  },
  "luminance": 0.27086
}

Semantic roles & 50–950 ramp

primary
#31A333
secondary
#BF71BD
accent
#4BDBDD
background
#F8FBF7
surface
#EFF7ED
border
#CAD0C8
text
#0A1208
muted
#7C817B

Preview Lab

Preview with #31A333

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

Preview Lab → · Contrast checker → · Palette generator →

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