#31A466#31A466

#31A466 is a light, vivid green. Relative luminance 0.282; OKLCH L 64.0% C 0.138 H 155.2°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#31A466
RGBrgb(49, 164, 102)
HSLhsl(148, 54%, 42%)
HSVhsv(148, 70%, 64%)
CMYKcmyk(70.1%, 0%, 37.8%, 35.7%)
CIE-LABlab(60.03, -46.36, 23.17)
CIE-LCHlch(60.03, 51.82, 153.45°)
OKLaboklab(63.96% -0.1253 0.058)
OKLCHoklch(63.96% 0.138 155.2)
XYZxyz(16.9388, 28.1613, 17.1108)
Luminance0.2816 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A466 #A4316F
analogous
#36A431 #31A466 #31A4A0
triadic
#31A466 #6631A4 #A46631
tetradic
#31A466 #3136A4 #A4316F #A4A031
square
#31A466 #3136A4 #A4316F #A4A031
split-complementary
#31A466 #A031A4 #A43136
monochromatic
#15462B #237549 #31A466 #49C984 #79D7A4

Accessibility & contrast

On white

3.17
#31A466 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#31A466 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A466
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A466#FFFFFF#000000##000000
##31A4661.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39762
Deuteranopia (green-blind)
#958D6A
Tritanopia (blue-blind)
#00A294
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #31a466;
/* rgb */ color: rgb(49, 164, 102);
/* oklch */ color: oklch(64.0% 0.138 155.2);
Tailwind
colors: {
  custom: {
    50: '#78c092',
    500: '#31a466',
    950: '#000000',
  },
}
SCSS
$custom: #31a466;
$custom-light: #78c092;
$custom-dark: #000000;
JSON
{
  "hex": "#31a466",
  "rgb": {
    "r": 49,
    "g": 164,
    "b": 102
  },
  "hsl": {
    "h": 147.652,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.63957,
    "c": 0.1381,
    "h": 155.2
  },
  "luminance": 0.28163
}

Semantic roles & 50–950 ramp

primary
#31A466
secondary
#BF729B
accent
#4A9ADD
background
#F7FBF9
surface
#EEF7F1
border
#C9D0CB
text
#0A120D
muted
#7C817E

Preview Lab

Preview with #31A466

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

Preview Lab → · Contrast checker → · Palette generator →

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