#31B459#31B459

#31B459 is a light, vivid green. Relative luminance 0.340; OKLCH L 68.0% C 0.171 H 149.1°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#31B459
RGBrgb(49, 180, 89)
HSLhsl(138, 57%, 45%)
HSVhsv(138, 73%, 71%)
CMYKcmyk(72.8%, 0%, 50.6%, 29.4%)
CIE-LABlab(64.97, -54.69, 36.33)
CIE-LCHlch(64.97, 65.66, 146.40°)
OKLaboklab(67.97% -0.1471 0.0881)
OKLCHoklch(67.97% 0.171 149.1)
XYZxyz(19.3895, 34.0145, 14.9929)
Luminance0.3402 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B459 #B4318C
analogous
#4AB431 #31B459 #31B49B
triadic
#31B459 #5931B4 #B45931
tetradic
#31B459 #314AB4 #B4318C #B49B31
square
#31B459 #314AB4 #B4318C #B49B31
split-complementary
#31B459 #9B31B4 #B4314A
monochromatic
#175429 #248441 #31B459 #52D079 #82DD9E

Accessibility & contrast

On white

2.69
#31B459 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#31B459 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B459
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B459#FFFFFF#000000##000000
##31B4591.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A451
Deuteranopia (green-blind)
#A69960
Tritanopia (blue-blind)
#00B19F
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #31b459;
/* rgb */ color: rgb(49, 180, 89);
/* oklch */ color: oklch(68.0% 0.171 149.1);
Tailwind
colors: {
  custom: {
    50: '#7ccc8a',
    500: '#31b459',
    950: '#000000',
  },
}
SCSS
$custom: #31b459;
$custom-light: #7ccc8a;
$custom-dark: #000000;
JSON
{
  "hex": "#31b459",
  "rgb": {
    "r": 49,
    "g": 180,
    "b": 89
  },
  "hsl": {
    "h": 138.321,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.67968,
    "c": 0.17147,
    "h": 149.1
  },
  "luminance": 0.34017
}

Semantic roles & 50–950 ramp

primary
#31B459
secondary
#C67BAF
accent
#47B2E0
background
#F8FCF8
surface
#EFF9F0
border
#CAD2CB
text
#0B130C
muted
#7C827D

Preview Lab

Preview with #31B459

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

Preview Lab → · Contrast checker → · Palette generator →

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