#1B891B#1B891B

#1B891B is a mid, vivid green. Relative luminance 0.182; OKLCH L 55.0% C 0.172 H 142.8°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#1B891B
RGBrgb(27, 137, 27)
HSLhsl(120, 67%, 32%)
HSVhsv(120, 80%, 54%)
CMYKcmyk(80.3%, 0%, 80.3%, 46.3%)
CIE-LABlab(49.74, -50.55, 46.61)
CIE-LCHlch(49.74, 68.76, 137.32°)
OKLaboklab(55.02% -0.1372 0.1042)
OKLCHoklch(55.02% 0.172 142.8)
XYZxyz(9.5949, 18.2023, 4.0444)
Luminance0.1820 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B891B #891B89
analogous
#52891B #1B891B #1B8952
triadic
#1B891B #1B1B89 #891B1B
tetradic
#1B891B #1B5289 #891B89 #89521B
square
#1B891B #1B5289 #891B89 #89521B
split-complementary
#1B891B #521B89 #891B52
monochromatic
#072307 #115611 #1B891B #25BC25 #44DA44

Accessibility & contrast

On white

4.53
#1B891B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#1B891B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1B891B
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B891B#FFFFFF#000000##000000
##1B891B1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#807328
Tritanopia (blue-blind)
#008575
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #1b891b;
/* rgb */ color: rgb(27, 137, 27);
/* oklch */ color: oklch(55.0% 0.172 142.8);
Tailwind
colors: {
  custom: {
    50: '#6dad61',
    500: '#1b891b',
    950: '#000000',
  },
}
SCSS
$custom: #1b891b;
$custom-light: #6dad61;
$custom-dark: #000000;
JSON
{
  "hex": "#1b891b",
  "rgb": {
    "r": 27,
    "g": 137,
    "b": 27
  },
  "hsl": {
    "h": 120,
    "s": 67.073,
    "l": 32.157
  },
  "oklch": {
    "l": 0.55021,
    "c": 0.17231,
    "h": 142.8
  },
  "luminance": 0.18203
}

Semantic roles & 50–950 ramp

primary
#1B891B
secondary
#BC44BC
accent
#3EEAEA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #1B891B

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

Preview Lab → · Contrast checker → · Palette generator →

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