#1B891F#1B891F

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

Color values

HEX#1B891F
RGBrgb(27, 137, 31)
HSLhsl(122, 67%, 32%)
HSVhsv(122, 80%, 54%)
CMYKcmyk(80.3%, 0%, 77.4%, 46.3%)
CIE-LABlab(49.76, -50.26, 45.25)
CIE-LCHlch(49.76, 67.63, 138.00°)
OKLaboklab(55.05% -0.1362 0.1019)
OKLCHoklch(55.05% 0.17 143.2)
XYZxyz(9.6444, 18.2221, 4.3050)
Luminance0.1822 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B891F #891B85
analogous
#4E891B #1B891F #1B8956
triadic
#1B891F #1F1B89 #891F1B
tetradic
#1B891F #1B4E89 #891B85 #89561B
square
#1B891F #1B4E89 #891B85 #89561B
split-complementary
#1B891F #561B89 #891B4E
monochromatic
#072308 #115613 #1B891F #25BC2B #44DA4A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B891F#FFFFFF#000000##000000
##1B891F1.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)
#8C7B08
Deuteranopia (green-blind)
#80732B
Tritanopia (blue-blind)
#008575
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #1b891f;
/* rgb */ color: rgb(27, 137, 31);
/* oklch */ color: oklch(55.0% 0.170 143.2);
Tailwind
colors: {
  custom: {
    50: '#6dad63',
    500: '#1b891f',
    950: '#000000',
  },
}
SCSS
$custom: #1b891f;
$custom-light: #6dad63;
$custom-dark: #000000;
JSON
{
  "hex": "#1b891f",
  "rgb": {
    "r": 27,
    "g": 137,
    "b": 31
  },
  "hsl": {
    "h": 122.182,
    "s": 67.073,
    "l": 32.157
  },
  "oklch": {
    "l": 0.55049,
    "c": 0.17015,
    "h": 143.2
  },
  "luminance": 0.18223
}

Semantic roles & 50–950 ramp

primary
#1B891F
secondary
#BC44B7
accent
#3EE4EA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #1B891F

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

Preview Lab → · Contrast checker → · Palette generator →

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