#31AF26#31AF26

#31AF26 is a light, highly saturated green. Relative luminance 0.315; OKLCH L 66.1% C 0.203 H 142.0°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#31AF26
RGBrgb(49, 175, 38)
HSLhsl(115, 64%, 42%)
HSVhsv(115, 78%, 69%)
CMYKcmyk(72%, 0%, 78.3%, 31.4%)
CIE-LABlab(62.89, -58.62, 55.85)
CIE-LCHlch(62.89, 80.96, 136.38°)
OKLaboklab(66.09% -0.1597 0.1249)
OKLCHoklch(66.09% 0.203 142)
XYZxyz(16.9455, 31.4510, 7.0109)
Luminance0.3145 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AF26 #A426AF
analogous
#76AF26 #31AF26 #26AF5F
triadic
#31AF26 #2631AF #AF2631
tetradic
#31AF26 #2676AF #A426AF #AF5F26
square
#31AF26 #2676AF #A426AF #AF5F26
split-complementary
#31AF26 #5F26AF #AF2676
monochromatic
#154A10 #237D1B #31AF26 #49D53D #79E070

Accessibility & contrast

On white

2.88
#31AF26 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#31AF26 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AF26
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AF26#FFFFFF#000000##000000
##31AF261.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E00
Deuteranopia (green-blind)
#A59436
Tritanopia (blue-blind)
#07AA95
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #31af26;
/* rgb */ color: rgb(49, 175, 38);
/* oklch */ color: oklch(66.1% 0.203 142.0);
Tailwind
colors: {
  custom: {
    50: '#7dc86b',
    500: '#31af26',
    950: '#000000',
  },
}
SCSS
$custom: #31af26;
$custom-light: #7dc86b;
$custom-dark: #000000;
JSON
{
  "hex": "#31af26",
  "rgb": {
    "r": 49,
    "g": 175,
    "b": 38
  },
  "hsl": {
    "h": 115.182,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.66085,
    "c": 0.20269,
    "h": 142
  },
  "luminance": 0.31453
}

Semantic roles & 50–950 ramp

primary
#31AF26
secondary
#BF6AC7
accent
#40E7DA
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #31AF26

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

Preview Lab → · Contrast checker → · Palette generator →

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