#1A9731#1A9731

#1A9731 is a mid, vivid green. Relative luminance 0.226; OKLCH L 59.1% C 0.175 H 145.2°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#1A9731
RGBrgb(26, 151, 49)
HSLhsl(131, 71%, 35%)
HSVhsv(131, 83%, 59%)
CMYKcmyk(82.8%, 0%, 67.5%, 40.8%)
CIE-LABlab(54.63, -53.29, 43.10)
CIE-LCHlch(54.63, 68.54, 141.03°)
OKLaboklab(59.13% -0.1436 0.0997)
OKLCHoklch(59.13% 0.175 145.2)
XYZxyz(12.0461, 22.5731, 6.6273)
Luminance0.2258 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A9731 #971A80
analogous
#42971A #1A9731 #1A9770
triadic
#1A9731 #311A97 #97311A
tetradic
#1A9731 #1A4297 #971A80 #97701A
square
#1A9731 #1A4297 #971A80 #97701A
split-complementary
#1A9731 #701A97 #971A42
monochromatic
#082F0F #116320 #1A9731 #23CB42 #4BE067

Accessibility & contrast

On white

3.81
#1A9731 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#1A9731 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1A9731
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A9731#FFFFFF#000000##000000
##1A97311.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8824
Deuteranopia (green-blind)
#8C7F3A
Tritanopia (blue-blind)
#009382
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #1a9731;
/* rgb */ color: rgb(26, 151, 49);
/* oklch */ color: oklch(59.1% 0.175 145.2);
Tailwind
colors: {
  custom: {
    50: '#6fb76e',
    500: '#1a9731',
    950: '#000000',
  },
}
SCSS
$custom: #1a9731;
$custom-light: #6fb76e;
$custom-dark: #000000;
JSON
{
  "hex": "#1a9731",
  "rgb": {
    "r": 26,
    "g": 151,
    "b": 49
  },
  "hsl": {
    "h": 131.04,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.59134,
    "c": 0.17485,
    "h": 145.2
  },
  "luminance": 0.22575
}

Semantic roles & 50–950 ramp

primary
#1A9731
secondary
#C24BAC
accent
#3ACCED
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #1A9731

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

Preview Lab → · Contrast checker → · Palette generator →

#1A9731 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva