#1A971F#1A971F

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

Color values

HEX#1A971F
RGBrgb(26, 151, 31)
HSLhsl(122, 71%, 35%)
HSVhsv(122, 83%, 59%)
CMYKcmyk(82.8%, 0%, 79.5%, 40.8%)
CIE-LABlab(54.50, -54.88, 49.88)
CIE-LCHlch(54.50, 74.17, 137.73°)
OKLaboklab(58.99% -0.1488 0.1116)
OKLCHoklch(58.99% 0.186 143.1)
XYZxyz(11.7392, 22.4503, 5.0107)
Luminance0.2245 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A971F #971A92
analogous
#54971A #1A971F #1A975E
triadic
#1A971F #1F1A97 #971F1A
tetradic
#1A971F #1A5497 #971A92 #975E1A
square
#1A971F #1A5497 #971A92 #975E1A
split-complementary
#1A971F #5E1A97 #971A54
monochromatic
#082F0A #116314 #1A971F #23CB2A #4BE051

Accessibility & contrast

On white

3.82
#1A971F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##1A971F#FFFFFF#000000##000000
##1A971F1.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a971f;
/* rgb */ color: rgb(26, 151, 31);
/* oklch */ color: oklch(59.0% 0.186 143.1);
Tailwind
colors: {
  custom: {
    50: '#70b765',
    500: '#1a971f',
    950: '#000000',
  },
}
SCSS
$custom: #1a971f;
$custom-light: #70b765;
$custom-dark: #000000;
JSON
{
  "hex": "#1a971f",
  "rgb": {
    "r": 26,
    "g": 151,
    "b": 31
  },
  "hsl": {
    "h": 122.4,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.58986,
    "c": 0.18597,
    "h": 143.1
  },
  "luminance": 0.22452
}

Semantic roles & 50–950 ramp

primary
#1A971F
secondary
#C24BBD
accent
#3AE6ED
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #1A971F

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

Preview Lab → · Contrast checker → · Palette generator →

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