#31A341#31A341

#31A341 is a light, vivid green. Relative luminance 0.272; OKLCH L 63.1% C 0.171 H 145.4°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#31A341
RGBrgb(49, 163, 65)
HSLhsl(128, 54%, 42%)
HSVhsv(128, 70%, 64%)
CMYKcmyk(69.9%, 0%, 60.1%, 36.1%)
CIE-LABlab(59.18, -51.98, 41.08)
CIE-LCHlch(59.18, 66.25, 141.68°)
OKLaboklab(63.08% -0.1404 0.0969)
OKLCHoklch(63.08% 0.171 145.4)
XYZxyz(15.3169, 27.2273, 9.4482)
Luminance0.2723 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A341 #A33193
analogous
#5AA331 #31A341 #31A37A
triadic
#31A341 #4131A3 #A34131
tetradic
#31A341 #315AA3 #A33193 #A37A31
square
#31A341 #315AA3 #A33193 #A37A31
split-complementary
#31A341 #7A31A3 #A3315A
monochromatic
#15451B #23742E #31A341 #49C85B #78D685

Accessibility & contrast

On white

3.26
#31A341 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#31A341 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A341
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A341#FFFFFF#000000##000000
##31A3411.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69437
Deuteranopia (green-blind)
#988B49
Tritanopia (blue-blind)
#039F8E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #31a341;
/* rgb */ color: rgb(49, 163, 65);
/* oklch */ color: oklch(63.1% 0.171 145.4);
Tailwind
colors: {
  custom: {
    50: '#79bf79',
    500: '#31a341',
    950: '#000000',
  },
}
SCSS
$custom: #31a341;
$custom-light: #79bf79;
$custom-dark: #000000;
JSON
{
  "hex": "#31a341",
  "rgb": {
    "r": 49,
    "g": 163,
    "b": 65
  },
  "hsl": {
    "h": 128.421,
    "s": 53.774,
    "l": 41.569
  },
  "oklch": {
    "l": 0.63084,
    "c": 0.1706,
    "h": 145.4
  },
  "luminance": 0.27229
}

Semantic roles & 50–950 ramp

primary
#31A341
secondary
#BF71B4
accent
#4BC9DD
background
#F7FBF7
surface
#EEF7ED
border
#C9D0C8
text
#0A1209
muted
#7C817B

Preview Lab

Preview with #31A341

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

Preview Lab → · Contrast checker → · Palette generator →

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