#31AD38#31AD38

#31AD38 is a light, vivid green. Relative luminance 0.308; OKLCH L 65.7% C 0.190 H 143.8°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#31AD38
RGBrgb(49, 173, 56)
HSLhsl(123, 56%, 44%)
HSVhsv(123, 72%, 68%)
CMYKcmyk(71.7%, 0%, 67.6%, 32.2%)
CIE-LABlab(62.36, -56.47, 48.64)
CIE-LCHlch(62.36, 74.52, 139.26°)
OKLaboklab(65.69% -0.153 0.1121)
OKLCHoklch(65.69% 0.19 143.8)
XYZxyz(16.9229, 30.8238, 8.7983)
Luminance0.3083 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AD38 #AD31A6
analogous
#68AD31 #31AD38 #31AD76
triadic
#31AD38 #3831AD #AD3831
tetradic
#31AD38 #3168AD #AD31A6 #AD7631
square
#31AD38 #3168AD #AD31A6 #AD7631
split-complementary
#31AD38 #7631AD #AD3168
monochromatic
#164E19 #237D29 #31AD38 #4ECD55 #7EDA83

Accessibility & contrast

On white

2.93
#31AD38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#31AD38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AD38
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AD38#FFFFFF#000000##000000
##31AD381.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09D28
Deuteranopia (green-blind)
#A29343
Tritanopia (blue-blind)
#00A895
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #31ad38;
/* rgb */ color: rgb(49, 173, 56);
/* oklch */ color: oklch(65.7% 0.190 143.8);
Tailwind
colors: {
  custom: {
    50: '#7cc774',
    500: '#31ad38',
    950: '#000000',
  },
}
SCSS
$custom: #31ad38;
$custom-light: #7cc774;
$custom-dark: #000000;
JSON
{
  "hex": "#31ad38",
  "rgb": {
    "r": 49,
    "g": 173,
    "b": 56
  },
  "hsl": {
    "h": 123.387,
    "s": 55.856,
    "l": 43.529
  },
  "oklch": {
    "l": 0.65686,
    "c": 0.18963,
    "h": 143.8
  },
  "luminance": 0.30826
}

Semantic roles & 50–950 ramp

primary
#31AD38
secondary
#C377BF
accent
#49D7DF
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #31AD38

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

Preview Lab → · Contrast checker → · Palette generator →

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