#1B971A#1B971A

#1B971A 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#1B971A
RGBrgb(27, 151, 26)
HSLhsl(120, 71%, 35%)
HSVhsv(120, 83%, 59%)
CMYKcmyk(82.1%, 0%, 82.8%, 40.8%)
CIE-LABlab(54.49, -55.08, 51.42)
CIE-LCHlch(54.49, 75.35, 136.97°)
OKLaboklab(58.97% -0.1495 0.1141)
OKLCHoklch(58.97% 0.188 142.7)
XYZxyz(11.7043, 22.4394, 4.6915)
Luminance0.2244 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B971A #961A97
analogous
#5A971A #1B971A #1A9758
triadic
#1B971A #1A1B97 #971A1B
tetradic
#1B971A #1A5A97 #961A97 #97581A
square
#1B971A #1A5A97 #961A97 #97581A
split-complementary
#1B971A #581A97 #971A5A
monochromatic
#082F08 #126311 #1B971A #24CB23 #4DE04B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B971A#FFFFFF#000000##000000
##1B971A1.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: #1b971a;
/* rgb */ color: rgb(27, 151, 26);
/* oklch */ color: oklch(59.0% 0.188 142.7);
Tailwind
colors: {
  custom: {
    50: '#71b762',
    500: '#1b971a',
    950: '#000000',
  },
}
SCSS
$custom: #1b971a;
$custom-light: #71b762;
$custom-dark: #000000;
JSON
{
  "hex": "#1b971a",
  "rgb": {
    "r": 27,
    "g": 151,
    "b": 26
  },
  "hsl": {
    "h": 119.52,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.58972,
    "c": 0.1881,
    "h": 142.7
  },
  "luminance": 0.22441
}

Semantic roles & 50–950 ramp

primary
#1B971A
secondary
#C14BC2
accent
#3AEDEC
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #1B971A

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

Preview Lab → · Contrast checker → · Palette generator →

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