#31A052#31A052

#31A052 is a light, vivid green. Relative luminance 0.264; OKLCH L 62.5% C 0.152 H 149.4°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#31A052
RGBrgb(49, 160, 82)
HSLhsl(138, 53%, 41%)
HSVhsv(138, 69%, 63%)
CMYKcmyk(69.4%, 0%, 48.8%, 37.3%)
CIE-LABlab(58.42, -48.42, 31.71)
CIE-LCHlch(58.42, 57.88, 146.78°)
OKLaboklab(62.52% -0.1304 0.0773)
OKLCHoklch(62.52% 0.152 149.4)
XYZxyz(15.3592, 26.4021, 12.2677)
Luminance0.2640 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A052 #A0317F
analogous
#47A031 #31A052 #31A089
triadic
#31A052 #5231A0 #A05231
tetradic
#31A052 #3147A0 #A0317F #A08931
square
#31A052 #3147A0 #A0317F #A08931
split-complementary
#31A052 #8931A0 #A03147
monochromatic
#144222 #23713A #31A052 #47C76D #76D592

Accessibility & contrast

On white

3.34
#31A052 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#31A052 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A052
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A052#FFFFFF#000000##000000
##31A0521.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1924C
Deuteranopia (green-blind)
#948958
Tritanopia (blue-blind)
#009D8E
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #31a052;
/* rgb */ color: rgb(49, 160, 82);
/* oklch */ color: oklch(62.5% 0.152 149.4);
Tailwind
colors: {
  custom: {
    50: '#78bd84',
    500: '#31a052',
    950: '#000000',
  },
}
SCSS
$custom: #31a052;
$custom-light: #78bd84;
$custom-dark: #000000;
JSON
{
  "hex": "#31a052",
  "rgb": {
    "r": 49,
    "g": 160,
    "b": 82
  },
  "hsl": {
    "h": 137.838,
    "s": 53.11,
    "l": 40.98
  },
  "oklch": {
    "l": 0.62518,
    "c": 0.15162,
    "h": 149.4
  },
  "luminance": 0.26404
}

Semantic roles & 50–950 ramp

primary
#31A052
secondary
#BD70A6
accent
#4BB1DD
background
#F7FBF8
surface
#EEF7EF
border
#C9D0CA
text
#0A120B
muted
#7C817C

Preview Lab

Preview with #31A052

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

Preview Lab → · Contrast checker → · Palette generator →

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