#1B841D#1B841D

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

Color values

HEX#1B841D
RGBrgb(27, 132, 29)
HSLhsl(121, 66%, 31%)
HSVhsv(121, 80%, 52%)
CMYKcmyk(79.5%, 0%, 78%, 48.2%)
CIE-LABlab(48.04, -48.76, 44.26)
CIE-LCHlch(48.04, 65.85, 137.77°)
OKLaboklab(53.61% -0.1323 0.0996)
OKLCHoklch(53.61% 0.166 143)
XYZxyz(8.9245, 16.8232, 3.9390)
Luminance0.1682 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B841D #841B82
analogous
#4D841B #1B841D #1B8451
triadic
#1B841D #1D1B84 #841D1B
tetradic
#1B841D #1B4D84 #841B82 #84511B
square
#1B841D #1B4D84 #841B82 #84511B
split-complementary
#1B841D #511B84 #841B4D
monochromatic
#061E07 #115112 #1B841D #25B728 #41D844

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B841D#FFFFFF#000000##FFFFFF
##1B841D1.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)
#877706
Deuteranopia (green-blind)
#7C6F28
Tritanopia (blue-blind)
#008070
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1b841d;
/* rgb */ color: rgb(27, 132, 29);
/* oklch */ color: oklch(53.6% 0.166 143.0);
Tailwind
colors: {
  custom: {
    50: '#6ca961',
    500: '#1b841d',
    950: '#000000',
  },
}
SCSS
$custom: #1b841d;
$custom-light: #6ca961;
$custom-dark: #000000;
JSON
{
  "hex": "#1b841d",
  "rgb": {
    "r": 27,
    "g": 132,
    "b": 29
  },
  "hsl": {
    "h": 121.143,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.53608,
    "c": 0.16557,
    "h": 143
  },
  "luminance": 0.16824
}

Semantic roles & 50–950 ramp

primary
#1B841D
secondary
#B743B5
accent
#3FE6E9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #1B841D

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

Preview Lab → · Contrast checker → · Palette generator →

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