#31B028#31B028

#31B028 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#31B028
RGBrgb(49, 176, 40)
HSLhsl(116, 63%, 42%)
HSVhsv(116, 77%, 69%)
CMYKcmyk(72.2%, 0%, 77.3%, 31%)
CIE-LABlab(63.22, -58.81, 55.53)
CIE-LCHlch(63.22, 80.88, 136.64°)
OKLaboklab(66.37% -0.1601 0.1245)
OKLCHoklch(66.37% 0.203 142.1)
XYZxyz(17.1740, 31.8549, 7.2506)
Luminance0.3186 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B028 #A728B0
analogous
#75B028 #31B028 #28B063
triadic
#31B028 #2831B0 #B02831
tetradic
#31B028 #2875B0 #A728B0 #B06328
square
#31B028 #2875B0 #A728B0 #B06328
split-complementary
#31B028 #6328B0 #B02875
monochromatic
#154C11 #237E1D #31B028 #4BD441 #7ADF73

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B028#FFFFFF#000000##000000
##31B0281.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)
#B49F04
Deuteranopia (green-blind)
#A69537
Tritanopia (blue-blind)
#05AB96
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #31b028;
/* rgb */ color: rgb(49, 176, 40);
/* oklch */ color: oklch(66.4% 0.203 142.1);
Tailwind
colors: {
  custom: {
    50: '#7dc96c',
    500: '#31b028',
    950: '#000000',
  },
}
SCSS
$custom: #31b028;
$custom-light: #7dc96c;
$custom-dark: #000000;
JSON
{
  "hex": "#31b028",
  "rgb": {
    "r": 49,
    "g": 176,
    "b": 40
  },
  "hsl": {
    "h": 116.029,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.66368,
    "c": 0.20278,
    "h": 142.1
  },
  "luminance": 0.31857
}

Semantic roles & 50–950 ramp

primary
#31B028
secondary
#C16DC6
accent
#42E6DB
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #31B028

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

Preview Lab → · Contrast checker → · Palette generator →

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