#1B841E#1B841E

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

Color values

HEX#1B841E
RGBrgb(27, 132, 30)
HSLhsl(122, 66%, 31%)
HSVhsv(122, 80%, 52%)
CMYKcmyk(79.5%, 0%, 77.3%, 48.2%)
CIE-LABlab(48.04, -48.68, 43.90)
CIE-LCHlch(48.04, 65.56, 137.95°)
OKLaboklab(53.62% -0.132 0.099)
OKLCHoklch(53.62% 0.165 143.1)
XYZxyz(8.9370, 16.8282, 4.0052)
Luminance0.1683 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B841E #841B81
analogous
#4C841B #1B841E #1B8452
triadic
#1B841E #1E1B84 #841E1B
tetradic
#1B841E #1B4C84 #841B81 #84521B
square
#1B841E #1B4C84 #841B81 #84521B
split-complementary
#1B841E #521B84 #841B4C
monochromatic
#061E07 #115112 #1B841E #25B72A #41D846

Accessibility & contrast

On white

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

On black

4.37
#1B841E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1B841E#FFFFFF#000000##FFFFFF
##1B841E1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b841e;
/* rgb */ color: rgb(27, 132, 30);
/* oklch */ color: oklch(53.6% 0.165 143.1);
Tailwind
colors: {
  custom: {
    50: '#6ca961',
    500: '#1b841e',
    950: '#000000',
  },
}
SCSS
$custom: #1b841e;
$custom-light: #6ca961;
$custom-dark: #000000;
JSON
{
  "hex": "#1b841e",
  "rgb": {
    "r": 27,
    "g": 132,
    "b": 30
  },
  "hsl": {
    "h": 121.714,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.53615,
    "c": 0.16499,
    "h": 143.1
  },
  "luminance": 0.16829
}

Semantic roles & 50–950 ramp

primary
#1B841E
secondary
#B743B4
accent
#3FE4E9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #1B841E

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

Preview Lab → · Contrast checker → · Palette generator →

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