#31B229#31B229

#31B229 is a light, highly saturated green. Relative luminance 0.327; OKLCH L 66.9% C 0.204 H 142.2°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#31B229
RGBrgb(49, 178, 41)
HSLhsl(116, 63%, 43%)
HSVhsv(116, 77%, 70%)
CMYKcmyk(72.5%, 0%, 77%, 30.2%)
CIE-LABlab(63.88, -59.39, 55.84)
CIE-LCHlch(63.88, 81.51, 136.77°)
OKLaboklab(66.91% -0.1616 0.1253)
OKLCHoklch(66.91% 0.204 142.2)
XYZxyz(17.5862, 32.6519, 7.4730)
Luminance0.3265 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B229 #AA29B2
analogous
#76B229 #31B229 #29B265
triadic
#31B229 #2931B2 #B22931
tetradic
#31B229 #2976B2 #AA29B2 #B26529
square
#31B229 #2976B2 #AA29B2 #B26529
split-complementary
#31B229 #6529B2 #B22976
monochromatic
#164F12 #23801E #31B229 #4DD444 #7CDF76

Accessibility & contrast

On white

2.79
#31B229 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#31B229 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B229
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B229#FFFFFF#000000##000000
##31B2291.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A106
Deuteranopia (green-blind)
#A89739
Tritanopia (blue-blind)
#01AD98
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #31b229;
/* rgb */ color: rgb(49, 178, 41);
/* oklch */ color: oklch(66.9% 0.204 142.2);
Tailwind
colors: {
  custom: {
    50: '#7dca6d',
    500: '#31b229',
    950: '#000000',
  },
}
SCSS
$custom: #31b229;
$custom-light: #7dca6d;
$custom-dark: #000000;
JSON
{
  "hex": "#31b229",
  "rgb": {
    "r": 49,
    "g": 178,
    "b": 41
  },
  "hsl": {
    "h": 116.496,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.66914,
    "c": 0.20446,
    "h": 142.2
  },
  "luminance": 0.32654
}

Semantic roles & 50–950 ramp

primary
#31B229
secondary
#C270C7
accent
#42E6DC
background
#F8FCF6
surface
#EFF9EC
border
#CAD2C7
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #31B229

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

Preview Lab → · Contrast checker → · Palette generator →

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