#1B971C#1B971C

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

Color values

HEX#1B971C
RGBrgb(27, 151, 28)
HSLhsl(120, 70%, 35%)
HSVhsv(120, 82%, 59%)
CMYKcmyk(82.1%, 0%, 81.5%, 40.8%)
CIE-LABlab(54.50, -54.96, 50.83)
CIE-LCHlch(54.50, 74.86, 137.23°)
OKLaboklab(58.98% -0.1491 0.1132)
OKLCHoklch(58.98% 0.187 142.8)
XYZxyz(11.7275, 22.4486, 4.8133)
Luminance0.2245 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B971C #971B96
analogous
#58971B #1B971C #1B975A
triadic
#1B971C #1C1B97 #971C1B
tetradic
#1B971C #1B5897 #971B96 #975A1B
square
#1B971C #1B5897 #971B96 #975A1B
split-complementary
#1B971C #5A1B97 #971B58
monochromatic
#082F09 #126312 #1B971C #24CB26 #4DDF4E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B971C#FFFFFF#000000##000000
##1B971C1.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: #1b971c;
/* rgb */ color: rgb(27, 151, 28);
/* oklch */ color: oklch(59.0% 0.187 142.8);
Tailwind
colors: {
  custom: {
    50: '#71b763',
    500: '#1b971c',
    950: '#000000',
  },
}
SCSS
$custom: #1b971c;
$custom-light: #71b763;
$custom-dark: #000000;
JSON
{
  "hex": "#1b971c",
  "rgb": {
    "r": 27,
    "g": 151,
    "b": 28
  },
  "hsl": {
    "h": 120.484,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.58984,
    "c": 0.1872,
    "h": 142.8
  },
  "luminance": 0.2245
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1B971C

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

Preview Lab → · Contrast checker → · Palette generator →

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