#31B027#31B027

#31B027 is a light, highly saturated green. Relative luminance 0.319; OKLCH L 66.4% C 0.203 H 142.1°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#31B027
RGBrgb(49, 176, 39)
HSLhsl(116, 64%, 42%)
HSVhsv(116, 78%, 69%)
CMYKcmyk(72.2%, 0%, 77.8%, 31%)
CIE-LABlab(63.22, -58.87, 55.85)
CIE-LCHlch(63.22, 81.15, 136.51°)
OKLaboklab(66.36% -0.1603 0.125)
OKLCHoklch(66.36% 0.203 142.1)
XYZxyz(17.1572, 31.8482, 7.1622)
Luminance0.3185 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B027 #A627B0
analogous
#76B027 #31B027 #27B061
triadic
#31B027 #2731B0 #B02731
tetradic
#31B027 #2776B0 #A627B0 #B06127
square
#31B027 #2776B0 #A627B0 #B06127
split-complementary
#31B027 #6127B0 #B02776
monochromatic
#154C11 #237E1C #31B027 #4AD540 #7AE072

Accessibility & contrast

On white

2.85
#31B027 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#31B027 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B027
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B027#FFFFFF#000000##000000
##31B0271.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F01
Deuteranopia (green-blind)
#A69537
Tritanopia (blue-blind)
#05AB96
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #31b027;
/* rgb */ color: rgb(49, 176, 39);
/* oklch */ color: oklch(66.4% 0.203 142.1);
Tailwind
colors: {
  custom: {
    50: '#7dc96c',
    500: '#31b027',
    950: '#000000',
  },
}
SCSS
$custom: #31b027;
$custom-light: #7dc96c;
$custom-dark: #000000;
JSON
{
  "hex": "#31b027",
  "rgb": {
    "r": 49,
    "g": 176,
    "b": 39
  },
  "hsl": {
    "h": 115.62,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.66361,
    "c": 0.20328,
    "h": 142.1
  },
  "luminance": 0.3185
}

Semantic roles & 50–950 ramp

primary
#31B027
secondary
#C06CC7
accent
#41E7DB
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #31B027

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

Preview Lab → · Contrast checker → · Palette generator →

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