#31B629#31B629

#31B629 is a light, highly saturated green. Relative luminance 0.343; OKLCH L 68.0% C 0.209 H 142.2°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#31B629
RGBrgb(49, 182, 41)
HSLhsl(117, 63%, 44%)
HSVhsv(117, 77%, 71%)
CMYKcmyk(73.1%, 0%, 77.5%, 28.6%)
CIE-LABlab(65.17, -60.68, 57.10)
CIE-LCHlch(65.17, 83.32, 136.74°)
OKLaboklab(67.99% -0.1651 0.1279)
OKLCHoklch(67.99% 0.209 142.2)
XYZxyz(18.3937, 34.2669, 7.7422)
Luminance0.3427 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B629 #AE29B6
analogous
#77B629 #31B629 #29B667
triadic
#31B629 #2931B6 #B62931
tetradic
#31B629 #2977B6 #AE29B6 #B66729
square
#31B629 #2977B6 #AE29B6 #B66729
split-complementary
#31B629 #6729B6 #B62977
monochromatic
#165212 #24841E #31B629 #4FD547 #7FE179

Accessibility & contrast

On white

2.67
#31B629 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#31B629 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B629
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B629#FFFFFF#000000##000000
##31B6291.002.677.857.85
#FFFFFF2.671.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA402
Deuteranopia (green-blind)
#AB9A39
Tritanopia (blue-blind)
#00B09C
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #31b629;
/* rgb */ color: rgb(49, 182, 41);
/* oklch */ color: oklch(68.0% 0.209 142.2);
Tailwind
colors: {
  custom: {
    50: '#7ecd6d',
    500: '#31b629',
    950: '#000000',
  },
}
SCSS
$custom: #31b629;
$custom-light: #7ecd6d;
$custom-dark: #000000;
JSON
{
  "hex": "#31b629",
  "rgb": {
    "r": 49,
    "g": 182,
    "b": 41
  },
  "hsl": {
    "h": 116.596,
    "s": 63.229,
    "l": 43.725
  },
  "oklch": {
    "l": 0.6799,
    "c": 0.20883,
    "h": 142.2
  },
  "luminance": 0.34269
}

Semantic roles & 50–950 ramp

primary
#31B629
secondary
#C472C9
accent
#42E6DD
background
#F8FCF6
surface
#F0F9EC
border
#CBD2C7
text
#0C1408
muted
#7D827B

Preview Lab

Preview with #31B629

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

Preview Lab → · Contrast checker → · Palette generator →

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