#31B263#31B263

#31B263 is a light, vivid green. Relative luminance 0.334; OKLCH L 67.6% C 0.160 H 151.8°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#31B263
RGBrgb(49, 178, 99)
HSLhsl(143, 57%, 45%)
HSVhsv(143, 72%, 70%)
CMYKcmyk(72.5%, 0%, 44.4%, 30.2%)
CIE-LABlab(64.48, -52.30, 30.59)
CIE-LCHlch(64.48, 60.59, 149.68°)
OKLaboklab(67.6% -0.1408 0.0754)
OKLCHoklch(67.6% 0.16 151.8)
XYZxyz(19.4375, 33.3924, 17.2229)
Luminance0.3340 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B263 #B23180
analogous
#40B231 #31B263 #31B2A4
triadic
#31B263 #6331B2 #B26331
tetradic
#31B263 #3140B2 #B23180 #B2A431
square
#31B263 #3140B2 #B23180 #B2A431
split-complementary
#31B263 #A431B2 #B23140
monochromatic
#17522E #248248 #31B263 #51CF82 #81DCA4

Accessibility & contrast

On white

2.73
#31B263 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#31B263 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B263
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B263#FFFFFF#000000##000000
##31B2631.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A35D
Deuteranopia (green-blind)
#A39868
Tritanopia (blue-blind)
#00AF9F
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #31b263;
/* rgb */ color: rgb(49, 178, 99);
/* oklch */ color: oklch(67.6% 0.160 151.8);
Tailwind
colors: {
  custom: {
    50: '#7bca90',
    500: '#31b263',
    950: '#000000',
  },
}
SCSS
$custom: #31b263;
$custom-light: #7bca90;
$custom-dark: #000000;
JSON
{
  "hex": "#31b263",
  "rgb": {
    "r": 49,
    "g": 178,
    "b": 99
  },
  "hsl": {
    "h": 143.256,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.67604,
    "c": 0.15972,
    "h": 151.8
  },
  "luminance": 0.33395
}

Semantic roles & 50–950 ramp

primary
#31B263
secondary
#C579A8
accent
#48A5E0
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0B130C
muted
#7C827D

Preview Lab

Preview with #31B263

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

Preview Lab → · Contrast checker → · Palette generator →

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