#31A751#31A751

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

Color values

HEX#31A751
RGBrgb(49, 167, 81)
HSLhsl(136, 55%, 42%)
HSVhsv(136, 71%, 65%)
CMYKcmyk(70.7%, 0%, 51.5%, 34.5%)
CIE-LABlab(60.68, -51.20, 35.04)
CIE-LCHlch(60.68, 62.04, 145.61°)
OKLaboklab(64.38% -0.1379 0.0847)
OKLCHoklch(64.38% 0.162 148.4)
XYZxyz(16.5693, 28.8827, 12.4847)
Luminance0.2888 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A751 #A73187
analogous
#4CA731 #31A751 #31A78C
triadic
#31A751 #5131A7 #A75131
tetradic
#31A751 #314CA7 #A73187 #A78C31
square
#31A751 #314CA7 #A73187 #A78C31
split-complementary
#31A751 #8C31A7 #A7314C
monochromatic
#154823 #23783A #31A751 #4BCA6D #7AD894

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31A751#FFFFFF#000000##000000
##31A7511.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)
#A9984A
Deuteranopia (green-blind)
#9A8E57
Tritanopia (blue-blind)
#00A493
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #31a751;
/* rgb */ color: rgb(49, 167, 81);
/* oklch */ color: oklch(64.4% 0.162 148.4);
Tailwind
colors: {
  custom: {
    50: '#79c283',
    500: '#31a751',
    950: '#000000',
  },
}
SCSS
$custom: #31a751;
$custom-light: #79c283;
$custom-dark: #000000;
JSON
{
  "hex": "#31a751",
  "rgb": {
    "r": 49,
    "g": 167,
    "b": 81
  },
  "hsl": {
    "h": 136.271,
    "s": 54.63,
    "l": 42.353
  },
  "oklch": {
    "l": 0.64381,
    "c": 0.16183,
    "h": 148.4
  },
  "luminance": 0.28884
}

Semantic roles & 50–950 ramp

primary
#31A751
secondary
#C173AC
accent
#4AB6DE
background
#F7FCF8
surface
#EEF8EF
border
#C9D1CA
text
#0A120B
muted
#7C817C

Preview Lab

Preview with #31A751

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

Preview Lab → · Contrast checker → · Palette generator →

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