#31B334#31B334

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

Color values

HEX#31B334
RGBrgb(49, 179, 52)
HSLhsl(121, 57%, 45%)
HSVhsv(121, 73%, 70%)
CMYKcmyk(72.6%, 0%, 70.9%, 29.8%)
CIE-LABlab(64.27, -58.85, 52.27)
CIE-LCHlch(64.27, 78.71, 138.38°)
OKLaboklab(67.27% -0.1596 0.1193)
OKLCHoklch(67.27% 0.199 143.2)
XYZxyz(18.0054, 33.1391, 8.6957)
Luminance0.3314 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B334 #B331B0
analogous
#6FB331 #31B334 #31B375
triadic
#31B334 #3431B3 #B33431
tetradic
#31B334 #316FB3 #B331B0 #B37531
square
#31B334 #316FB3 #B331B0 #B37531
split-complementary
#31B334 #7531B3 #B3316F
monochromatic
#175318 #248326 #31B334 #52D055 #82DD84

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B334#FFFFFF#000000##000000
##31B3341.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)
#B7A220
Deuteranopia (green-blind)
#A89841
Tritanopia (blue-blind)
#00AE9A
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #31b334;
/* rgb */ color: rgb(49, 179, 52);
/* oklch */ color: oklch(67.3% 0.199 143.2);
Tailwind
colors: {
  custom: {
    50: '#7dcb73',
    500: '#31b334',
    950: '#000000',
  },
}
SCSS
$custom: #31b334;
$custom-light: #7dcb73;
$custom-dark: #000000;
JSON
{
  "hex": "#31b334",
  "rgb": {
    "r": 49,
    "g": 179,
    "b": 52
  },
  "hsl": {
    "h": 121.385,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.67265,
    "c": 0.19924,
    "h": 143.2
  },
  "luminance": 0.33141
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31B334

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

Preview Lab → · Contrast checker → · Palette generator →

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