#1A971A#1A971A

#1A971A is a mid, vivid green. Relative luminance 0.224; OKLCH L 59.0% C 0.188 H 142.7°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#1A971A
RGBrgb(26, 151, 26)
HSLhsl(120, 71%, 35%)
HSVhsv(120, 83%, 59%)
CMYKcmyk(82.8%, 0%, 82.8%, 40.8%)
CIE-LABlab(54.48, -55.21, 51.40)
CIE-LCHlch(54.48, 75.43, 137.04°)
OKLaboklab(58.96% -0.1498 0.1141)
OKLCHoklch(58.96% 0.188 142.7)
XYZxyz(11.6783, 22.4260, 4.6902)
Luminance0.2243 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A971A #971A97
analogous
#59971A #1A971A #1A9759
triadic
#1A971A #1A1A97 #971A1A
tetradic
#1A971A #1A5997 #971A97 #97591A
square
#1A971A #1A5997 #971A97 #97591A
split-complementary
#1A971A #591A97 #971A59
monochromatic
#082F08 #116311 #1A971A #23CB23 #4BE04B

Accessibility & contrast

On white

3.83
#1A971A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#1A971A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1A971A
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A971A#FFFFFF#000000##000000
##1A971A1.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8800
Deuteranopia (green-blind)
#8D7F2A
Tritanopia (blue-blind)
#009280
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #1a971a;
/* rgb */ color: rgb(26, 151, 26);
/* oklch */ color: oklch(59.0% 0.188 142.7);
Tailwind
colors: {
  custom: {
    50: '#70b762',
    500: '#1a971a',
    950: '#000000',
  },
}
SCSS
$custom: #1a971a;
$custom-light: #70b762;
$custom-dark: #000000;
JSON
{
  "hex": "#1a971a",
  "rgb": {
    "r": 26,
    "g": 151,
    "b": 26
  },
  "hsl": {
    "h": 120,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.58957,
    "c": 0.18831,
    "h": 142.7
  },
  "luminance": 0.22427
}

Semantic roles & 50–950 ramp

primary
#1A971A
secondary
#C24BC2
accent
#3AEDED
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #1A971A

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

Preview Lab → · Contrast checker → · Palette generator →

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