#31B23B#31B23B

#31B23B is a light, vivid green. Relative luminance 0.328; OKLCH L 67.1% C 0.193 H 144.0°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#31B23B
RGBrgb(49, 178, 59)
HSLhsl(125, 57%, 45%)
HSVhsv(125, 72%, 70%)
CMYKcmyk(72.5%, 0%, 66.9%, 30.2%)
CIE-LABlab(64.00, -57.85, 49.17)
CIE-LCHlch(64.00, 75.92, 139.64°)
OKLaboklab(67.06% -0.1566 0.1136)
OKLCHoklch(67.06% 0.193 144)
XYZxyz(17.9753, 32.8075, 9.5220)
Luminance0.3281 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B23B #B231A8
analogous
#68B231 #31B23B #31B27C
triadic
#31B23B #3B31B2 #B23B31
tetradic
#31B23B #3168B2 #B231A8 #B27C31
square
#31B23B #3168B2 #B231A8 #B27C31
split-complementary
#31B23B #7C31B2 #B23168
monochromatic
#17521B #24822B #31B23B #51CF5B #81DC88

Accessibility & contrast

On white

2.78
#31B23B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#31B23B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B23B
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B23B#FFFFFF#000000##000000
##31B23B1.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A12B
Deuteranopia (green-blind)
#A79746
Tritanopia (blue-blind)
#00AD9A
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #31b23b;
/* rgb */ color: rgb(49, 178, 59);
/* oklch */ color: oklch(67.1% 0.193 144.0);
Tailwind
colors: {
  custom: {
    50: '#7dca76',
    500: '#31b23b',
    950: '#000000',
  },
}
SCSS
$custom: #31b23b;
$custom-light: #7dca76;
$custom-dark: #000000;
JSON
{
  "hex": "#31b23b",
  "rgb": {
    "r": 49,
    "g": 178,
    "b": 59
  },
  "hsl": {
    "h": 124.651,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.67059,
    "c": 0.19341,
    "h": 144
  },
  "luminance": 0.3281
}

Semantic roles & 50–950 ramp

primary
#31B23B
secondary
#C579C0
accent
#48D4E0
background
#F8FCF7
surface
#EFF9ED
border
#CAD2C8
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #31B23B

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

Preview Lab → · Contrast checker → · Palette generator →

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