#31A667#31A667

#31A667 is a light, vivid green. Relative luminance 0.289; OKLCH L 64.5% C 0.140 H 155.1°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#31A667
RGBrgb(49, 166, 103)
HSLhsl(148, 54%, 42%)
HSVhsv(148, 70%, 65%)
CMYKcmyk(70.5%, 0%, 38%, 34.9%)
CIE-LABlab(60.70, -46.95, 23.51)
CIE-LCHlch(60.70, 52.51, 153.41°)
OKLaboklab(64.51% -0.1269 0.0588)
OKLCHoklch(64.51% 0.14 155.1)
XYZxyz(17.3494, 28.9027, 17.4938)
Luminance0.2890 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A667 #A63170
analogous
#36A631 #31A667 #31A6A2
triadic
#31A667 #6731A6 #A66731
tetradic
#31A667 #3136A6 #A63170 #A6A231
square
#31A667 #3136A6 #A63170 #A6A231
split-complementary
#31A667 #A231A6 #A63136
monochromatic
#15472C #23774A #31A667 #4ACA85 #7AD8A5

Accessibility & contrast

On white

3.10
#31A667 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#31A667 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A667
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A667#FFFFFF#000000##000000
##31A6671.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59963
Deuteranopia (green-blind)
#978E6B
Tritanopia (blue-blind)
#00A496
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #31a667;
/* rgb */ color: rgb(49, 166, 103);
/* oklch */ color: oklch(64.5% 0.140 155.1);
Tailwind
colors: {
  custom: {
    50: '#79c193',
    500: '#31a667',
    950: '#000000',
  },
}
SCSS
$custom: #31a667;
$custom-light: #79c193;
$custom-dark: #000000;
JSON
{
  "hex": "#31a667",
  "rgb": {
    "r": 49,
    "g": 166,
    "b": 103
  },
  "hsl": {
    "h": 147.692,
    "s": 54.419,
    "l": 42.157
  },
  "oklch": {
    "l": 0.64507,
    "c": 0.1399,
    "h": 155.1
  },
  "luminance": 0.28905
}

Semantic roles & 50–950 ramp

primary
#31A667
secondary
#C0739C
accent
#4A9ADE
background
#F7FCF9
surface
#EEF8F1
border
#C9D1CB
text
#0A120D
muted
#7C817E

Preview Lab

Preview with #31A667

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

Preview Lab → · Contrast checker → · Palette generator →

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