#31B262#31B262

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

Color values

HEX#31B262
RGBrgb(49, 178, 98)
HSLhsl(143, 57%, 45%)
HSVhsv(143, 72%, 70%)
CMYKcmyk(72.5%, 0%, 44.9%, 30.2%)
CIE-LABlab(64.46, -52.48, 31.09)
CIE-LCHlch(64.46, 61.00, 149.36°)
OKLaboklab(67.59% -0.1413 0.0765)
OKLCHoklch(67.59% 0.161 151.6)
XYZxyz(19.3900, 33.3734, 16.9727)
Luminance0.3338 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B262 #B23181
analogous
#40B231 #31B262 #31B2A3
triadic
#31B262 #6231B2 #B26231
tetradic
#31B262 #3140B2 #B23181 #B2A331
square
#31B262 #3140B2 #B23181 #B2A331
split-complementary
#31B262 #A331B2 #B23140
monochromatic
#17522D #248248 #31B262 #51CF81 #81DCA4

Accessibility & contrast

On white

2.74
#31B262 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B262#FFFFFF#000000##000000
##31B2621.002.747.687.68
#FFFFFF2.741.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31b262;
/* rgb */ color: rgb(49, 178, 98);
/* oklch */ color: oklch(67.6% 0.161 151.6);
Tailwind
colors: {
  custom: {
    50: '#7bca90',
    500: '#31b262',
    950: '#000000',
  },
}
SCSS
$custom: #31b262;
$custom-light: #7bca90;
$custom-dark: #000000;
JSON
{
  "hex": "#31b262",
  "rgb": {
    "r": 49,
    "g": 178,
    "b": 98
  },
  "hsl": {
    "h": 142.791,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.67586,
    "c": 0.16065,
    "h": 151.6
  },
  "luminance": 0.33376
}

Semantic roles & 50–950 ramp

primary
#31B262
secondary
#C579A9
accent
#48A6E0
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0B130C
muted
#7C827D

Preview Lab

Preview with #31B262

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

Preview Lab → · Contrast checker → · Palette generator →

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