#31B24B#31B24B

#31B24B is a light, vivid green. Relative luminance 0.330; OKLCH L 67.2% C 0.181 H 146.4°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#31B24B
RGBrgb(49, 178, 75)
HSLhsl(132, 57%, 45%)
HSVhsv(132, 72%, 70%)
CMYKcmyk(72.5%, 0%, 57.9%, 30.2%)
CIE-LABlab(64.16, -55.99, 42.18)
CIE-LCHlch(64.16, 70.10, 143.01°)
OKLaboklab(67.24% -0.1509 0.1001)
OKLCHoklch(67.24% 0.181 146.4)
XYZxyz(18.4557, 32.9997, 12.0522)
Luminance0.3300 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B24B #B23198
analogous
#58B231 #31B24B #31B28C
triadic
#31B24B #4B31B2 #B24B31
tetradic
#31B24B #3158B2 #B23198 #B28C31
square
#31B24B #3158B2 #B23198 #B28C31
split-complementary
#31B24B #8C31B2 #B23158
monochromatic
#175223 #248237 #31B24B #51CF6A #81DC93

Accessibility & contrast

On white

2.76
#31B24B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#31B24B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B24B
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B24B#FFFFFF#000000##000000
##31B24B1.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A241
Deuteranopia (green-blind)
#A59753
Tritanopia (blue-blind)
#00AE9B
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #31b24b;
/* rgb */ color: rgb(49, 178, 75);
/* oklch */ color: oklch(67.2% 0.181 146.4);
Tailwind
colors: {
  custom: {
    50: '#7cca80',
    500: '#31b24b',
    950: '#000000',
  },
}
SCSS
$custom: #31b24b;
$custom-light: #7cca80;
$custom-dark: #000000;
JSON
{
  "hex": "#31b24b",
  "rgb": {
    "r": 49,
    "g": 178,
    "b": 75
  },
  "hsl": {
    "h": 132.093,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.67239,
    "c": 0.18109,
    "h": 146.4
  },
  "luminance": 0.33002
}

Semantic roles & 50–950 ramp

primary
#31B24B
secondary
#C579B6
accent
#48C1E0
background
#F8FCF8
surface
#EFF9EF
border
#CAD2CA
text
#0B130A
muted
#7C827C

Preview Lab

Preview with #31B24B

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

Preview Lab → · Contrast checker → · Palette generator →

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