#31B335#31B335

#31B335 is a light, vivid green. Relative luminance 0.332; OKLCH L 67.3% C 0.199 H 143.3°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#31B335
RGBrgb(49, 179, 53)
HSLhsl(122, 57%, 45%)
HSVhsv(122, 73%, 70%)
CMYKcmyk(72.6%, 0%, 70.4%, 29.8%)
CIE-LABlab(64.28, -58.76, 51.89)
CIE-LCHlch(64.28, 78.39, 138.55°)
OKLaboklab(67.27% -0.1593 0.1186)
OKLCHoklch(67.27% 0.199 143.3)
XYZxyz(18.0282, 33.1482, 8.8156)
Luminance0.3315 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B335 #B331AF
analogous
#6EB331 #31B335 #31B376
triadic
#31B335 #3531B3 #B33531
tetradic
#31B335 #316EB3 #B331AF #B37631
square
#31B335 #316EB3 #B331AF #B37631
split-complementary
#31B335 #7631B3 #B3316E
monochromatic
#175319 #248327 #31B335 #52D056 #82DD84

Accessibility & contrast

On white

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

On black

7.63
#31B335 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B335
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B335#FFFFFF#000000##000000
##31B3351.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A222
Deuteranopia (green-blind)
#A89841
Tritanopia (blue-blind)
#00AE9A
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #31b335;
/* rgb */ color: rgb(49, 179, 53);
/* oklch */ color: oklch(67.3% 0.199 143.3);
Tailwind
colors: {
  custom: {
    50: '#7dcb73',
    500: '#31b335',
    950: '#000000',
  },
}
SCSS
$custom: #31b335;
$custom-light: #7dcb73;
$custom-dark: #000000;
JSON
{
  "hex": "#31b335",
  "rgb": {
    "r": 49,
    "g": 179,
    "b": 53
  },
  "hsl": {
    "h": 121.846,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.67273,
    "c": 0.19861,
    "h": 143.3
  },
  "luminance": 0.3315
}

Semantic roles & 50–950 ramp

primary
#31B335
secondary
#C67AC4
accent
#48DCE0
background
#F8FCF7
surface
#EFF9ED
border
#CAD2C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #31B335

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

Preview Lab → · Contrast checker → · Palette generator →

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