#1B971D#1B971D

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

Color values

HEX#1B971D
RGBrgb(27, 151, 29)
HSLhsl(121, 70%, 35%)
HSVhsv(121, 82%, 59%)
CMYKcmyk(82.1%, 0%, 80.8%, 40.8%)
CIE-LABlab(54.50, -54.90, 50.53)
CIE-LCHlch(54.50, 74.61, 137.37°)
OKLaboklab(58.99% -0.1489 0.1127)
OKLCHoklch(58.99% 0.187 142.9)
XYZxyz(11.7396, 22.4535, 4.8774)
Luminance0.2245 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B971D #971B95
analogous
#57971B #1B971D #1B975B
triadic
#1B971D #1D1B97 #971D1B
tetradic
#1B971D #1B5797 #971B95 #975B1B
square
#1B971D #1B5797 #971B95 #975B1B
split-complementary
#1B971D #5B1B97 #971B57
monochromatic
#082F09 #126313 #1B971D #24CB27 #4DDF50

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B971D#FFFFFF#000000##000000
##1B971D1.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)
#8D7F2C
Tritanopia (blue-blind)
#009281
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #1b971d;
/* rgb */ color: rgb(27, 151, 29);
/* oklch */ color: oklch(59.0% 0.187 142.9);
Tailwind
colors: {
  custom: {
    50: '#71b764',
    500: '#1b971d',
    950: '#000000',
  },
}
SCSS
$custom: #1b971d;
$custom-light: #71b764;
$custom-dark: #000000;
JSON
{
  "hex": "#1b971d",
  "rgb": {
    "r": 27,
    "g": 151,
    "b": 29
  },
  "hsl": {
    "h": 120.968,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.58989,
    "c": 0.18673,
    "h": 142.9
  },
  "luminance": 0.22455
}

Semantic roles & 50–950 ramp

primary
#1B971D
secondary
#C14CC0
accent
#3BEAEC
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #1B971D

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

Preview Lab → · Contrast checker → · Palette generator →

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