#31B435#31B435

#31B435 is a light, vivid green. Relative luminance 0.336; OKLCH L 67.5% C 0.200 H 143.3°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#31B435
RGBrgb(49, 180, 53)
HSLhsl(122, 57%, 45%)
HSVhsv(122, 73%, 71%)
CMYKcmyk(72.8%, 0%, 70.6%, 29.4%)
CIE-LABlab(64.60, -59.09, 52.23)
CIE-LCHlch(64.60, 78.86, 138.52°)
OKLaboklab(67.54% -0.1602 0.1193)
OKLCHoklch(67.54% 0.2 143.3)
XYZxyz(18.2293, 33.5505, 8.8826)
Luminance0.3355 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B435 #B431B0
analogous
#6FB431 #31B435 #31B476
triadic
#31B435 #3531B4 #B43531
tetradic
#31B435 #316FB4 #B431B0 #B47631
square
#31B435 #316FB4 #B431B0 #B47631
split-complementary
#31B435 #7631B4 #B4316F
monochromatic
#175419 #248427 #31B435 #52D056 #82DD85

Accessibility & contrast

On white

2.72
#31B435 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#31B435 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B435
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B435#FFFFFF#000000##000000
##31B4351.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A321
Deuteranopia (green-blind)
#A99942
Tritanopia (blue-blind)
#00AF9B
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #31b435;
/* rgb */ color: rgb(49, 180, 53);
/* oklch */ color: oklch(67.5% 0.200 143.3);
Tailwind
colors: {
  custom: {
    50: '#7dcc73',
    500: '#31b435',
    950: '#000000',
  },
}
SCSS
$custom: #31b435;
$custom-light: #7dcc73;
$custom-dark: #000000;
JSON
{
  "hex": "#31b435",
  "rgb": {
    "r": 49,
    "g": 180,
    "b": 53
  },
  "hsl": {
    "h": 121.832,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.67541,
    "c": 0.19974,
    "h": 143.3
  },
  "luminance": 0.33553
}

Semantic roles & 50–950 ramp

primary
#31B435
secondary
#C67BC4
accent
#47DCE0
background
#F8FCF7
surface
#EFF9ED
border
#CAD2C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #31B435

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

Preview Lab → · Contrast checker → · Palette generator →

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