#1A971B#1A971B

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

Color values

HEX#1A971B
RGBrgb(26, 151, 27)
HSLhsl(120, 71%, 35%)
HSVhsv(120, 83%, 59%)
CMYKcmyk(82.8%, 0%, 82.1%, 40.8%)
CIE-LABlab(54.48, -55.14, 51.11)
CIE-LCHlch(54.48, 75.19, 137.17°)
OKLaboklab(58.96% -0.1496 0.1136)
OKLCHoklch(58.96% 0.188 142.8)
XYZxyz(11.6897, 22.4305, 4.7501)
Luminance0.2243 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A971B #971A96
analogous
#58971A #1A971B #1A975A
triadic
#1A971B #1B1A97 #971B1A
tetradic
#1A971B #1A5897 #971A96 #975A1A
square
#1A971B #1A5897 #971A96 #975A1A
split-complementary
#1A971B #5A1A97 #971A58
monochromatic
#082F08 #116312 #1A971B #23CB24 #4BE04D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1A971B#FFFFFF#000000##000000
##1A971B1.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: #1a971b;
/* rgb */ color: rgb(26, 151, 27);
/* oklch */ color: oklch(59.0% 0.188 142.8);
Tailwind
colors: {
  custom: {
    50: '#70b763',
    500: '#1a971b',
    950: '#000000',
  },
}
SCSS
$custom: #1a971b;
$custom-light: #70b763;
$custom-dark: #000000;
JSON
{
  "hex": "#1a971b",
  "rgb": {
    "r": 26,
    "g": 151,
    "b": 27
  },
  "hsl": {
    "h": 120.48,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.58962,
    "c": 0.18787,
    "h": 142.8
  },
  "luminance": 0.22432
}

Semantic roles & 50–950 ramp

primary
#1A971B
secondary
#C24BC1
accent
#3AECED
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #1A971B

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

Preview Lab → · Contrast checker → · Palette generator →

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