#1B971B#1B971B

#1B971B 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#1B971B
RGBrgb(27, 151, 27)
HSLhsl(120, 70%, 35%)
HSVhsv(120, 82%, 59%)
CMYKcmyk(82.1%, 0%, 82.1%, 40.8%)
CIE-LABlab(54.49, -55.02, 51.13)
CIE-LCHlch(54.49, 75.11, 137.10°)
OKLaboklab(58.98% -0.1493 0.1136)
OKLCHoklch(58.98% 0.188 142.7)
XYZxyz(11.7157, 22.4439, 4.7514)
Luminance0.2245 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B971B #971B97
analogous
#59971B #1B971B #1B9759
triadic
#1B971B #1B1B97 #971B1B
tetradic
#1B971B #1B5997 #971B97 #97591B
square
#1B971B #1B5997 #971B97 #97591B
split-complementary
#1B971B #591B97 #971B59
monochromatic
#082F08 #126312 #1B971B #24CB24 #4DDF4D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B971B#FFFFFF#000000##000000
##1B971B1.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: #1b971b;
/* rgb */ color: rgb(27, 151, 27);
/* oklch */ color: oklch(59.0% 0.188 142.7);
Tailwind
colors: {
  custom: {
    50: '#71b763',
    500: '#1b971b',
    950: '#000000',
  },
}
SCSS
$custom: #1b971b;
$custom-light: #71b763;
$custom-dark: #000000;
JSON
{
  "hex": "#1b971b",
  "rgb": {
    "r": 27,
    "g": 151,
    "b": 27
  },
  "hsl": {
    "h": 120,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.58978,
    "c": 0.18766,
    "h": 142.7
  },
  "luminance": 0.22445
}

Semantic roles & 50–950 ramp

primary
#1B971B
secondary
#C14CC1
accent
#3BECEC
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #1B971B

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

Preview Lab → · Contrast checker → · Palette generator →

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