#31A335#31A335

#31A335 is a light, vivid green. Relative luminance 0.271; OKLCH L 63.0% C 0.180 H 143.5°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#31A335
RGBrgb(49, 163, 53)
HSLhsl(122, 54%, 42%)
HSVhsv(122, 70%, 64%)
CMYKcmyk(69.9%, 0%, 67.5%, 36.1%)
CIE-LABlab(59.07, -53.34, 46.34)
CIE-LCHlch(59.07, 70.66, 139.02°)
OKLaboklab(62.95% -0.1446 0.1069)
OKLCHoklch(62.95% 0.18 143.5)
XYZxyz(15.0055, 27.1028, 7.8080)
Luminance0.2710 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A335 #A3319F
analogous
#66A331 #31A335 #31A36E
triadic
#31A335 #3531A3 #A33531
tetradic
#31A335 #3166A3 #A3319F #A36E31
square
#31A335 #3166A3 #A3319F #A36E31
split-complementary
#31A335 #6E31A3 #A33166
monochromatic
#154516 #237426 #31A335 #49C84D #78D67B

Accessibility & contrast

On white

3.27
#31A335 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#31A335 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A335
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A335#FFFFFF#000000##000000
##31A3351.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69426
Deuteranopia (green-blind)
#998B3F
Tritanopia (blue-blind)
#0D9E8C
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #31a335;
/* rgb */ color: rgb(49, 163, 53);
/* oklch */ color: oklch(63.0% 0.180 143.5);
Tailwind
colors: {
  custom: {
    50: '#7abf72',
    500: '#31a335',
    950: '#000000',
  },
}
SCSS
$custom: #31a335;
$custom-light: #7abf72;
$custom-dark: #000000;
JSON
{
  "hex": "#31a335",
  "rgb": {
    "r": 49,
    "g": 163,
    "b": 53
  },
  "hsl": {
    "h": 122.105,
    "s": 53.774,
    "l": 41.569
  },
  "oklch": {
    "l": 0.62951,
    "c": 0.17985,
    "h": 143.5
  },
  "luminance": 0.27104
}

Semantic roles & 50–950 ramp

primary
#31A335
secondary
#BF71BC
accent
#4BD8DD
background
#F8FBF7
surface
#EFF7ED
border
#CAD0C8
text
#0A1208
muted
#7C817B

Preview Lab

Preview with #31A335

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

Preview Lab → · Contrast checker → · Palette generator →

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