#31B451#31B451

#31B451 is a light, vivid green. Relative luminance 0.339; OKLCH L 67.9% C 0.179 H 147.4°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#31B451
RGBrgb(49, 180, 81)
HSLhsl(135, 57%, 45%)
HSVhsv(135, 73%, 71%)
CMYKcmyk(72.8%, 0%, 55%, 29.4%)
CIE-LABlab(64.87, -55.87, 40.16)
CIE-LCHlch(64.87, 68.80, 144.29°)
OKLaboklab(67.85% -0.1504 0.0961)
OKLCHoklch(67.85% 0.179 147.4)
XYZxyz(19.0717, 33.8874, 13.3188)
Luminance0.3389 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B451 #B43194
analogous
#53B431 #31B451 #31B492
triadic
#31B451 #5131B4 #B45131
tetradic
#31B451 #3153B4 #B43194 #B49231
square
#31B451 #3153B4 #B43194 #B49231
split-complementary
#31B451 #9231B4 #B43153
monochromatic
#175426 #24843B #31B451 #52D071 #82DD98

Accessibility & contrast

On white

2.70
#31B451 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#31B451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B451
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B451#FFFFFF#000000##000000
##31B4511.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A448
Deuteranopia (green-blind)
#A79959
Tritanopia (blue-blind)
#00B09E
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #31b451;
/* rgb */ color: rgb(49, 180, 81);
/* oklch */ color: oklch(67.9% 0.179 147.4);
Tailwind
colors: {
  custom: {
    50: '#7ccc84',
    500: '#31b451',
    950: '#000000',
  },
}
SCSS
$custom: #31b451;
$custom-light: #7ccc84;
$custom-dark: #000000;
JSON
{
  "hex": "#31b451",
  "rgb": {
    "r": 49,
    "g": 180,
    "b": 81
  },
  "hsl": {
    "h": 134.656,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.67851,
    "c": 0.17851,
    "h": 147.4
  },
  "luminance": 0.3389
}

Semantic roles & 50–950 ramp

primary
#31B451
secondary
#C67BB4
accent
#47BBE0
background
#F8FCF8
surface
#EFF9EF
border
#CAD2CA
text
#0B130B
muted
#7C827C

Preview Lab

Preview with #31B451

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

Preview Lab → · Contrast checker → · Palette generator →

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