#31A023#31A023

#31A023 is a mid, vivid green. Relative luminance 0.259; OKLCH L 62.0% C 0.188 H 141.6°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#31A023
RGBrgb(49, 160, 35)
HSLhsl(113, 64%, 38%)
HSVhsv(113, 78%, 63%)
CMYKcmyk(69.4%, 0%, 78.1%, 37.3%)
CIE-LABlab(57.96, -53.84, 52.06)
CIE-LCHlch(57.96, 74.89, 135.96°)
OKLaboklab(61.99% -0.1469 0.1165)
OKLCHoklch(61.99% 0.188 141.6)
XYZxyz(14.1400, 25.9144, 5.8466)
Luminance0.2592 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A023 #9223A0
analogous
#6FA023 #31A023 #23A053
triadic
#31A023 #2331A0 #A02331
tetradic
#31A023 #236FA0 #9223A0 #A05323
square
#31A023 #236FA0 #9223A0 #A05323
split-complementary
#31A023 #5323A0 #A0236F
monochromatic
#123C0D #226E18 #31A023 #41D12F #6FDC61

Accessibility & contrast

On white

3.40
#31A023 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#31A023 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A023
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A023#FFFFFF#000000##000000
##31A0231.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49102
Deuteranopia (green-blind)
#978831
Tritanopia (blue-blind)
#179B89
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #31a023;
/* rgb */ color: rgb(49, 160, 35);
/* oklch */ color: oklch(62.0% 0.188 141.6);
Tailwind
colors: {
  custom: {
    50: '#7abd68',
    500: '#31a023',
    950: '#000000',
  },
}
SCSS
$custom: #31a023;
$custom-light: #7abd68;
$custom-dark: #000000;
JSON
{
  "hex": "#31a023",
  "rgb": {
    "r": 49,
    "g": 160,
    "b": 35
  },
  "hsl": {
    "h": 113.28,
    "s": 64.103,
    "l": 38.235
  },
  "oklch": {
    "l": 0.61988,
    "c": 0.18751,
    "h": 141.6
  },
  "luminance": 0.25916
}

Semantic roles & 50–950 ramp

primary
#31A023
secondary
#B65DC1
accent
#41E7D4
background
#F8FBF6
surface
#EFF7EB
border
#CAD0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #31A023

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

Preview Lab → · Contrast checker → · Palette generator →

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