#31B25C#31B25C

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

Color values

HEX#31B25C
RGBrgb(49, 178, 92)
HSLhsl(140, 57%, 45%)
HSVhsv(140, 72%, 70%)
CMYKcmyk(72.5%, 0%, 48.3%, 30.2%)
CIE-LABlab(64.37, -53.49, 34.07)
CIE-LCHlch(64.37, 63.41, 147.51°)
OKLaboklab(67.49% -0.1439 0.0831)
OKLCHoklch(67.49% 0.166 150)
XYZxyz(19.1172, 33.2643, 15.5363)
Luminance0.3327 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B25C #B23187
analogous
#47B231 #31B25C #31B29D
triadic
#31B25C #5C31B2 #B25C31
tetradic
#31B25C #3147B2 #B23187 #B29D31
square
#31B25C #3147B2 #B23187 #B29D31
split-complementary
#31B25C #9D31B2 #B23147
monochromatic
#17522A #248243 #31B25C #51CF7B #81DC9F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B25C#FFFFFF#000000##000000
##31B25C1.002.747.657.65
#FFFFFF2.741.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A355
Deuteranopia (green-blind)
#A49862
Tritanopia (blue-blind)
#00AF9E
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #31b25c;
/* rgb */ color: rgb(49, 178, 92);
/* oklch */ color: oklch(67.5% 0.166 150.0);
Tailwind
colors: {
  custom: {
    50: '#7bca8b',
    500: '#31b25c',
    950: '#000000',
  },
}
SCSS
$custom: #31b25c;
$custom-light: #7bca8b;
$custom-dark: #000000;
JSON
{
  "hex": "#31b25c",
  "rgb": {
    "r": 49,
    "g": 178,
    "b": 92
  },
  "hsl": {
    "h": 140,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.67485,
    "c": 0.16617,
    "h": 150
  },
  "luminance": 0.33266
}

Semantic roles & 50–950 ramp

primary
#31B25C
secondary
#C579AC
accent
#48ADE0
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0B130C
muted
#7C827D

Preview Lab

Preview with #31B25C

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

Preview Lab → · Contrast checker → · Palette generator →

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