#31B25A#31B25A

#31B25A is a light, vivid green. Relative luminance 0.332; OKLCH L 67.5% C 0.168 H 149.5°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#31B25A
RGBrgb(49, 178, 90)
HSLhsl(139, 57%, 45%)
HSVhsv(139, 72%, 70%)
CMYKcmyk(72.5%, 0%, 49.4%, 30.2%)
CIE-LABlab(64.35, -53.81, 35.05)
CIE-LCHlch(64.35, 64.22, 146.92°)
OKLaboklab(67.45% -0.1448 0.0852)
OKLCHoklch(67.45% 0.168 149.5)
XYZxyz(19.0310, 33.2298, 15.0819)
Luminance0.3323 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B25A #B23189
analogous
#48B231 #31B25A #31B29B
triadic
#31B25A #5A31B2 #B25A31
tetradic
#31B25A #3148B2 #B23189 #B29B31
square
#31B25A #3148B2 #B23189 #B29B31
split-complementary
#31B25A #9B31B2 #B23148
monochromatic
#175229 #248242 #31B25A #51CF79 #81DC9E

Accessibility & contrast

On white

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

On black

7.65
#31B25A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B25A
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B25A#FFFFFF#000000##000000
##31B25A1.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A253
Deuteranopia (green-blind)
#A49860
Tritanopia (blue-blind)
#00AF9D
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #31b25a;
/* rgb */ color: rgb(49, 178, 90);
/* oklch */ color: oklch(67.5% 0.168 149.5);
Tailwind
colors: {
  custom: {
    50: '#7bca8a',
    500: '#31b25a',
    950: '#000000',
  },
}
SCSS
$custom: #31b25a;
$custom-light: #7bca8a;
$custom-dark: #000000;
JSON
{
  "hex": "#31b25a",
  "rgb": {
    "r": 49,
    "g": 178,
    "b": 90
  },
  "hsl": {
    "h": 139.07,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.67453,
    "c": 0.16799,
    "h": 149.5
  },
  "luminance": 0.33232
}

Semantic roles & 50–950 ramp

primary
#31B25A
secondary
#C579AD
accent
#48B0E0
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0B130C
muted
#7C827D

Preview Lab

Preview with #31B25A

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

Preview Lab → · Contrast checker → · Palette generator →

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