#31A236#31A236

#31A236 is a light, vivid green. Relative luminance 0.268; OKLCH L 62.7% C 0.178 H 143.7°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#31A236
RGBrgb(49, 162, 54)
HSLhsl(123, 54%, 41%)
HSVhsv(123, 70%, 64%)
CMYKcmyk(69.8%, 0%, 66.7%, 36.5%)
CIE-LABlab(58.75, -52.89, 45.56)
CIE-LCHlch(58.75, 69.81, 139.26°)
OKLaboklab(62.69% -0.1434 0.1054)
OKLCHoklch(62.69% 0.178 143.7)
XYZxyz(14.8519, 26.7584, 7.8715)
Luminance0.2676 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A236 #A2319D
analogous
#65A231 #31A236 #31A26F
triadic
#31A236 #3631A2 #A23631
tetradic
#31A236 #3165A2 #A2319D #A26F31
square
#31A236 #3165A2 #A2319D #A26F31
split-complementary
#31A236 #6F31A2 #A23165
monochromatic
#154417 #237326 #31A236 #48C84E #77D67C

Accessibility & contrast

On white

3.31
#31A236 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#31A236 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A236
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A236#FFFFFF#000000##000000
##31A2361.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59328
Deuteranopia (green-blind)
#988A40
Tritanopia (blue-blind)
#0E9D8C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #31a236;
/* rgb */ color: rgb(49, 162, 54);
/* oklch */ color: oklch(62.7% 0.178 143.7);
Tailwind
colors: {
  custom: {
    50: '#79bf72',
    500: '#31a236',
    950: '#000000',
  },
}
SCSS
$custom: #31a236;
$custom-light: #79bf72;
$custom-dark: #000000;
JSON
{
  "hex": "#31a236",
  "rgb": {
    "r": 49,
    "g": 162,
    "b": 54
  },
  "hsl": {
    "h": 122.655,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.6269,
    "c": 0.17792,
    "h": 143.7
  },
  "luminance": 0.2676
}

Semantic roles & 50–950 ramp

primary
#31A236
secondary
#BE71BB
accent
#4BD6DD
background
#F7FBF7
surface
#EEF7ED
border
#C9D0C8
text
#0A1208
muted
#7C817B

Preview Lab

Preview with #31A236

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

Preview Lab → · Contrast checker → · Palette generator →

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