#31A635#31A635

#31A635 is a light, vivid green. Relative luminance 0.282; OKLCH L 63.8% C 0.183 H 143.5°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#31A635
RGBrgb(49, 166, 53)
HSLhsl(122, 54%, 42%)
HSVhsv(122, 70%, 65%)
CMYKcmyk(70.5%, 0%, 68.1%, 34.9%)
CIE-LABlab(60.05, -54.38, 47.40)
CIE-LCHlch(60.05, 72.14, 138.92°)
OKLaboklab(63.77% -0.1474 0.1091)
OKLCHoklch(63.77% 0.183 143.5)
XYZxyz(15.5445, 28.1808, 7.9877)
Luminance0.2818 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A635 #A631A2
analogous
#68A631 #31A635 #31A66F
triadic
#31A635 #3531A6 #A63531
tetradic
#31A635 #3168A6 #A631A2 #A66F31
square
#31A635 #3168A6 #A631A2 #A66F31
split-complementary
#31A635 #6F31A6 #A63168
monochromatic
#154717 #237726 #31A635 #4ACA4F #7AD87D

Accessibility & contrast

On white

3.16
#31A635 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#31A635 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A635
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A635#FFFFFF#000000##000000
##31A6351.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99626
Deuteranopia (green-blind)
#9C8D40
Tritanopia (blue-blind)
#0AA18F
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #31a635;
/* rgb */ color: rgb(49, 166, 53);
/* oklch */ color: oklch(63.8% 0.183 143.5);
Tailwind
colors: {
  custom: {
    50: '#7ac172',
    500: '#31a635',
    950: '#000000',
  },
}
SCSS
$custom: #31a635;
$custom-light: #7ac172;
$custom-dark: #000000;
JSON
{
  "hex": "#31a635",
  "rgb": {
    "r": 49,
    "g": 166,
    "b": 53
  },
  "hsl": {
    "h": 122.051,
    "s": 54.419,
    "l": 42.157
  },
  "oklch": {
    "l": 0.63766,
    "c": 0.18344,
    "h": 143.5
  },
  "luminance": 0.28182
}

Semantic roles & 50–950 ramp

primary
#31A635
secondary
#C073BD
accent
#4AD9DE
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1208
muted
#7C817B

Preview Lab

Preview with #31A635

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

Preview Lab → · Contrast checker → · Palette generator →

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