#31B253#31B253

#31B253 is a light, vivid green. Relative luminance 0.331; OKLCH L 67.3% C 0.174 H 148.0°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#31B253
RGBrgb(49, 178, 83)
HSLhsl(136, 57%, 45%)
HSVhsv(136, 72%, 70%)
CMYKcmyk(72.5%, 0%, 53.4%, 30.2%)
CIE-LABlab(64.25, -54.88, 38.43)
CIE-LCHlch(64.25, 66.99, 145.00°)
OKLaboklab(67.35% -0.1477 0.0924)
OKLCHoklch(67.35% 0.174 148)
XYZxyz(18.7469, 33.1162, 13.5860)
Luminance0.3312 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B253 #B23190
analogous
#50B231 #31B253 #31B294
triadic
#31B253 #5331B2 #B25331
tetradic
#31B253 #3150B2 #B23190 #B29431
square
#31B253 #3150B2 #B23190 #B29431
split-complementary
#31B253 #9431B2 #B23150
monochromatic
#175226 #24823D #31B253 #51CF72 #81DC99

Accessibility & contrast

On white

2.75
#31B253 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#31B253 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B253
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B253#FFFFFF#000000##000000
##31B2531.002.757.627.62
#FFFFFF2.751.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A24B
Deuteranopia (green-blind)
#A5985A
Tritanopia (blue-blind)
#00AE9C
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #31b253;
/* rgb */ color: rgb(49, 178, 83);
/* oklch */ color: oklch(67.3% 0.174 148.0);
Tailwind
colors: {
  custom: {
    50: '#7cca85',
    500: '#31b253',
    950: '#000000',
  },
}
SCSS
$custom: #31b253;
$custom-light: #7cca85;
$custom-dark: #000000;
JSON
{
  "hex": "#31b253",
  "rgb": {
    "r": 49,
    "g": 178,
    "b": 83
  },
  "hsl": {
    "h": 135.814,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.67347,
    "c": 0.17424,
    "h": 148
  },
  "luminance": 0.33118
}

Semantic roles & 50–950 ramp

primary
#31B253
secondary
#C579B1
accent
#48B8E0
background
#F8FCF8
surface
#EFF8EF
border
#CAD1CA
text
#0B130B
muted
#7C827C

Preview Lab

Preview with #31B253

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

Preview Lab → · Contrast checker → · Palette generator →

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