#31A63C#31A63C

#31A63C is a light, vivid green. Relative luminance 0.283; OKLCH L 63.8% C 0.178 H 144.5°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#31A63C
RGBrgb(49, 166, 60)
HSLhsl(126, 54%, 42%)
HSVhsv(126, 70%, 65%)
CMYKcmyk(70.5%, 0%, 63.9%, 34.9%)
CIE-LABlab(60.11, -53.63, 44.44)
CIE-LCHlch(60.11, 69.65, 140.36°)
OKLaboklab(63.84% -0.1451 0.1036)
OKLCHoklch(63.84% 0.178 144.5)
XYZxyz(15.7174, 28.2499, 8.8985)
Luminance0.2825 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A63C #A6319B
analogous
#61A631 #31A63C #31A677
triadic
#31A63C #3C31A6 #A63C31
tetradic
#31A63C #3161A6 #A6319B #A67731
square
#31A63C #3161A6 #A6319B #A67731
split-complementary
#31A63C #7731A6 #A63161
monochromatic
#15471A #23772B #31A63C #4ACA56 #7AD883

Accessibility & contrast

On white

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

On black

6.65
#31A63C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A63C
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A63C#FFFFFF#000000##000000
##31A63C1.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99730
Deuteranopia (green-blind)
#9B8D45
Tritanopia (blue-blind)
#04A290
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #31a63c;
/* rgb */ color: rgb(49, 166, 60);
/* oklch */ color: oklch(63.8% 0.178 144.5);
Tailwind
colors: {
  custom: {
    50: '#7ac176',
    500: '#31a63c',
    950: '#000000',
  },
}
SCSS
$custom: #31a63c;
$custom-light: #7ac176;
$custom-dark: #000000;
JSON
{
  "hex": "#31a63c",
  "rgb": {
    "r": 49,
    "g": 166,
    "b": 60
  },
  "hsl": {
    "h": 125.641,
    "s": 54.419,
    "l": 42.157
  },
  "oklch": {
    "l": 0.63837,
    "c": 0.17831,
    "h": 144.5
  },
  "luminance": 0.28252
}

Semantic roles & 50–950 ramp

primary
#31A63C
secondary
#C073B9
accent
#4AD0DE
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0A1209
muted
#7C817B

Preview Lab

Preview with #31A63C

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

Preview Lab → · Contrast checker → · Palette generator →

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