#1B841B#1B841B

#1B841B is a mid, vivid green. Relative luminance 0.168; OKLCH L 53.6% C 0.167 H 142.8°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#1B841B
RGBrgb(27, 132, 27)
HSLhsl(120, 66%, 31%)
HSVhsv(120, 80%, 52%)
CMYKcmyk(79.5%, 0%, 79.5%, 48.2%)
CIE-LABlab(48.02, -48.91, 44.95)
CIE-LCHlch(48.02, 66.43, 137.42°)
OKLaboklab(53.59% -0.1328 0.1008)
OKLCHoklch(53.59% 0.167 142.8)
XYZxyz(8.9005, 16.8136, 3.8130)
Luminance0.1681 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B841B #841B84
analogous
#4F841B #1B841B #1B844F
triadic
#1B841B #1B1B84 #841B1B
tetradic
#1B841B #1B4F84 #841B84 #844F1B
square
#1B841B #1B4F84 #841B84 #844F1B
split-complementary
#1B841B #4F1B84 #841B4F
monochromatic
#061E06 #115111 #1B841B #25B725 #41D841

Accessibility & contrast

On white

4.81
#1B841B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#1B841B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B841B
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B841B#FFFFFF#000000##FFFFFF
##1B841B1.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877701
Deuteranopia (green-blind)
#7C6F27
Tritanopia (blue-blind)
#008070
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1b841b;
/* rgb */ color: rgb(27, 132, 27);
/* oklch */ color: oklch(53.6% 0.167 142.8);
Tailwind
colors: {
  custom: {
    50: '#6ca960',
    500: '#1b841b',
    950: '#000000',
  },
}
SCSS
$custom: #1b841b;
$custom-light: #6ca960;
$custom-dark: #000000;
JSON
{
  "hex": "#1b841b",
  "rgb": {
    "r": 27,
    "g": 132,
    "b": 27
  },
  "hsl": {
    "h": 120,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.53594,
    "c": 0.16667,
    "h": 142.8
  },
  "luminance": 0.16815
}

Semantic roles & 50–950 ramp

primary
#1B841B
secondary
#B743B7
accent
#3FE9E9
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #1B841B

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

Preview Lab → · Contrast checker → · Palette generator →

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