#31A243#31A243

#31A243 is a light, vivid green. Relative luminance 0.269; OKLCH L 62.8% C 0.168 H 145.8°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#31A243
RGBrgb(49, 162, 67)
HSLhsl(130, 54%, 41%)
HSVhsv(130, 70%, 64%)
CMYKcmyk(69.8%, 0%, 58.6%, 36.5%)
CIE-LABlab(58.88, -51.36, 39.78)
CIE-LCHlch(58.88, 64.97, 142.24°)
OKLaboklab(62.84% -0.1387 0.0943)
OKLCHoklch(62.84% 0.168 145.8)
XYZxyz(15.1990, 26.8972, 9.6998)
Luminance0.2690 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A243 #A23190
analogous
#57A231 #31A243 #31A27C
triadic
#31A243 #4331A2 #A24331
tetradic
#31A243 #3157A2 #A23190 #A27C31
square
#31A243 #3157A2 #A23190 #A27C31
split-complementary
#31A243 #7C31A2 #A23157
monochromatic
#15441C #237330 #31A243 #48C85D #77D686

Accessibility & contrast

On white

3.29
#31A243 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#31A243 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A243
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A243#FFFFFF#000000##000000
##31A2431.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49339
Deuteranopia (green-blind)
#978A4B
Tritanopia (blue-blind)
#039E8D
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #31a243;
/* rgb */ color: rgb(49, 162, 67);
/* oklch */ color: oklch(62.8% 0.168 145.8);
Tailwind
colors: {
  custom: {
    50: '#79bf7a',
    500: '#31a243',
    950: '#000000',
  },
}
SCSS
$custom: #31a243;
$custom-light: #79bf7a;
$custom-dark: #000000;
JSON
{
  "hex": "#31a243",
  "rgb": {
    "r": 49,
    "g": 162,
    "b": 67
  },
  "hsl": {
    "h": 129.558,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.62838,
    "c": 0.16767,
    "h": 145.8
  },
  "luminance": 0.26899
}

Semantic roles & 50–950 ramp

primary
#31A243
secondary
#BE71B2
accent
#4BC6DD
background
#F7FBF7
surface
#EEF7EE
border
#C9D0C9
text
#0A1209
muted
#7C817B

Preview Lab

Preview with #31A243

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

Preview Lab → · Contrast checker → · Palette generator →

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