#31B043#31B043

#31B043 is a light, vivid green. Relative luminance 0.321; OKLCH L 66.6% C 0.185 H 145.2°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#31B043
RGBrgb(49, 176, 67)
HSLhsl(129, 56%, 44%)
HSVhsv(129, 72%, 69%)
CMYKcmyk(72.2%, 0%, 61.9%, 31%)
CIE-LABlab(63.43, -56.29, 45.04)
CIE-LCHlch(63.43, 72.09, 141.34°)
OKLaboklab(66.61% -0.152 0.1056)
OKLCHoklch(66.61% 0.185 145.2)
XYZxyz(17.8039, 32.1069, 10.5681)
Luminance0.3211 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B043 #B0319E
analogous
#5FB031 #31B043 #31B083
triadic
#31B043 #4331B0 #B04331
tetradic
#31B043 #315FB0 #B0319E #B08331
square
#31B043 #315FB0 #B0319E #B08331
split-complementary
#31B043 #8331B0 #B0315F
monochromatic
#16501F #248031 #31B043 #50CE62 #80DC8D

Accessibility & contrast

On white

2.83
#31B043 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#31B043 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B043
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B043#FFFFFF#000000##000000
##31B0431.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A037
Deuteranopia (green-blind)
#A4964C
Tritanopia (blue-blind)
#00AC99
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #31b043;
/* rgb */ color: rgb(49, 176, 67);
/* oklch */ color: oklch(66.6% 0.185 145.2);
Tailwind
colors: {
  custom: {
    50: '#7cc97b',
    500: '#31b043',
    950: '#000000',
  },
}
SCSS
$custom: #31b043;
$custom-light: #7cc97b;
$custom-dark: #000000;
JSON
{
  "hex": "#31b043",
  "rgb": {
    "r": 49,
    "g": 176,
    "b": 67
  },
  "hsl": {
    "h": 128.504,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.66607,
    "c": 0.18508,
    "h": 145.2
  },
  "luminance": 0.32109
}

Semantic roles & 50–950 ramp

primary
#31B043
secondary
#C578BA
accent
#48CAE0
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0B130A
muted
#7C827C

Preview Lab

Preview with #31B043

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

Preview Lab → · Contrast checker → · Palette generator →

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