#31B266#31B266

#31B266 is a light, vivid green. Relative luminance 0.335; OKLCH L 67.7% C 0.157 H 152.7°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#31B266
RGBrgb(49, 178, 102)
HSLhsl(145, 57%, 45%)
HSVhsv(145, 72%, 70%)
CMYKcmyk(72.5%, 0%, 42.7%, 30.2%)
CIE-LABlab(64.52, -51.77, 29.08)
CIE-LCHlch(64.52, 59.38, 150.67°)
OKLaboklab(67.66% -0.1395 0.072)
OKLCHoklch(67.66% 0.157 152.7)
XYZxyz(19.5836, 33.4508, 17.9924)
Luminance0.3345 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B266 #B2317D
analogous
#3DB231 #31B266 #31B2A7
triadic
#31B266 #6631B2 #B26631
tetradic
#31B266 #313DB2 #B2317D #B2A731
square
#31B266 #313DB2 #B2317D #B2A731
split-complementary
#31B266 #A731B2 #B2313D
monochromatic
#17522F #24824B #31B266 #51CF85 #81DCA7

Accessibility & contrast

On white

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

On black

7.69
#31B266 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B266
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B266#FFFFFF#000000##000000
##31B2661.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A360
Deuteranopia (green-blind)
#A3986B
Tritanopia (blue-blind)
#00B09F
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #31b266;
/* rgb */ color: rgb(49, 178, 102);
/* oklch */ color: oklch(67.7% 0.157 152.7);
Tailwind
colors: {
  custom: {
    50: '#7bca92',
    500: '#31b266',
    950: '#000000',
  },
}
SCSS
$custom: #31b266;
$custom-light: #7bca92;
$custom-dark: #000000;
JSON
{
  "hex": "#31b266",
  "rgb": {
    "r": 49,
    "g": 178,
    "b": 102
  },
  "hsl": {
    "h": 144.651,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.67658,
    "c": 0.15693,
    "h": 152.7
  },
  "luminance": 0.33453
}

Semantic roles & 50–950 ramp

primary
#31B266
secondary
#C579A6
accent
#48A1E0
background
#F8FCF9
surface
#EFF8F1
border
#CAD1CB
text
#0B130D
muted
#7C827E

Preview Lab

Preview with #31B266

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

Preview Lab → · Contrast checker → · Palette generator →

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