#1B891C#1B891C

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

Color values

HEX#1B891C
RGBrgb(27, 137, 28)
HSLhsl(121, 67%, 32%)
HSVhsv(121, 80%, 54%)
CMYKcmyk(80.3%, 0%, 79.6%, 46.3%)
CIE-LABlab(49.75, -50.48, 46.29)
CIE-LCHlch(49.75, 68.49, 137.48°)
OKLaboklab(55.03% -0.137 0.1037)
OKLCHoklch(55.03% 0.172 142.9)
XYZxyz(9.6066, 18.2070, 4.1064)
Luminance0.1821 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B891C #891B88
analogous
#51891B #1B891C #1B8953
triadic
#1B891C #1C1B89 #891C1B
tetradic
#1B891C #1B5189 #891B88 #89531B
square
#1B891C #1B5189 #891B88 #89531B
split-complementary
#1B891C #531B89 #891B51
monochromatic
#072307 #115612 #1B891C #25BC26 #44DA46

Accessibility & contrast

On white

4.52
#1B891C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B891C#FFFFFF#000000##000000
##1B891C1.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b891c;
/* rgb */ color: rgb(27, 137, 28);
/* oklch */ color: oklch(55.0% 0.172 142.9);
Tailwind
colors: {
  custom: {
    50: '#6dad61',
    500: '#1b891c',
    950: '#000000',
  },
}
SCSS
$custom: #1b891c;
$custom-light: #6dad61;
$custom-dark: #000000;
JSON
{
  "hex": "#1b891c",
  "rgb": {
    "r": 27,
    "g": 137,
    "b": 28
  },
  "hsl": {
    "h": 120.545,
    "s": 67.073,
    "l": 32.157
  },
  "oklch": {
    "l": 0.55028,
    "c": 0.17179,
    "h": 142.9
  },
  "luminance": 0.18208
}

Semantic roles & 50–950 ramp

primary
#1B891C
secondary
#BC44BA
accent
#3EE8EA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #1B891C

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

Preview Lab → · Contrast checker → · Palette generator →

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