#1A971C#1A971C

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

Color values

HEX#1A971C
RGBrgb(26, 151, 28)
HSLhsl(121, 71%, 35%)
HSVhsv(121, 83%, 59%)
CMYKcmyk(82.8%, 0%, 81.5%, 40.8%)
CIE-LABlab(54.49, -55.08, 50.82)
CIE-LCHlch(54.49, 74.94, 137.31°)
OKLaboklab(58.97% -0.1494 0.1131)
OKLCHoklch(58.97% 0.187 142.9)
XYZxyz(11.7015, 22.4352, 4.8121)
Luminance0.2244 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A971C #971A95
analogous
#57971A #1A971C #1A975B
triadic
#1A971C #1C1A97 #971C1A
tetradic
#1A971C #1A5797 #971A95 #975B1A
square
#1A971C #1A5797 #971A95 #975B1A
split-complementary
#1A971C #5B1A97 #971A57
monochromatic
#082F09 #116312 #1A971C #23CB26 #4BE04E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1A971C#FFFFFF#000000##000000
##1A971C1.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)
#8D7F2B
Tritanopia (blue-blind)
#009280
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #1a971c;
/* rgb */ color: rgb(26, 151, 28);
/* oklch */ color: oklch(59.0% 0.187 142.9);
Tailwind
colors: {
  custom: {
    50: '#70b763',
    500: '#1a971c',
    950: '#000000',
  },
}
SCSS
$custom: #1a971c;
$custom-light: #70b763;
$custom-dark: #000000;
JSON
{
  "hex": "#1a971c",
  "rgb": {
    "r": 26,
    "g": 151,
    "b": 28
  },
  "hsl": {
    "h": 120.96,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.58968,
    "c": 0.18742,
    "h": 142.9
  },
  "luminance": 0.22437
}

Semantic roles & 50–950 ramp

primary
#1A971C
secondary
#C24BC0
accent
#3AEBED
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #1A971C

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

Preview Lab → · Contrast checker → · Palette generator →

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