#31A833#31A833

#31A833 is a light, vivid green. Relative luminance 0.289; OKLCH L 64.3% C 0.187 H 143.2°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#31A833
RGBrgb(49, 168, 51)
HSLhsl(121, 55%, 43%)
HSVhsv(121, 71%, 66%)
CMYKcmyk(70.8%, 0%, 69.6%, 34.1%)
CIE-LABlab(60.69, -55.25, 48.90)
CIE-LCHlch(60.69, 73.79, 138.49°)
OKLaboklab(64.29% -0.1499 0.1121)
OKLCHoklch(64.29% 0.187 143.2)
XYZxyz(15.8658, 28.8955, 7.8726)
Luminance0.2890 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A833 #A831A6
analogous
#6BA831 #31A833 #31A86E
triadic
#31A833 #3331A8 #A83331
tetradic
#31A833 #316BA8 #A831A6 #A86E31
square
#31A833 #316BA8 #A831A6 #A86E31
split-complementary
#31A833 #6E31A8 #A8316B
monochromatic
#154916 #237925 #31A833 #4CCB4E #7BD87C

Accessibility & contrast

On white

3.10
#31A833 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#31A833 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A833
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A833#FFFFFF#000000##000000
##31A8331.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9822
Deuteranopia (green-blind)
#9E8F3E
Tritanopia (blue-blind)
#09A390
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #31a833;
/* rgb */ color: rgb(49, 168, 51);
/* oklch */ color: oklch(64.3% 0.187 143.2);
Tailwind
colors: {
  custom: {
    50: '#7bc371',
    500: '#31a833',
    950: '#000000',
  },
}
SCSS
$custom: #31a833;
$custom-light: #7bc371;
$custom-dark: #000000;
JSON
{
  "hex": "#31a833",
  "rgb": {
    "r": 49,
    "g": 168,
    "b": 51
  },
  "hsl": {
    "h": 121.008,
    "s": 54.839,
    "l": 42.549
  },
  "oklch": {
    "l": 0.64289,
    "c": 0.18718,
    "h": 143.2
  },
  "luminance": 0.28897
}

Semantic roles & 50–950 ramp

primary
#31A833
secondary
#C174C0
accent
#4ADCDE
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #31A833

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

Preview Lab → · Contrast checker → · Palette generator →

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