#1B841C#1B841C

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

Color values

HEX#1B841C
RGBrgb(27, 132, 28)
HSLhsl(121, 66%, 31%)
HSVhsv(121, 80%, 52%)
CMYKcmyk(79.5%, 0%, 78.8%, 48.2%)
CIE-LABlab(48.03, -48.84, 44.61)
CIE-LCHlch(48.03, 66.15, 137.59°)
OKLaboklab(53.6% -0.1325 0.1002)
OKLCHoklch(53.6% 0.166 142.9)
XYZxyz(8.9123, 16.8183, 3.8749)
Luminance0.1682 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B841C #841B83
analogous
#4E841B #1B841C #1B8450
triadic
#1B841C #1C1B84 #841C1B
tetradic
#1B841C #1B4E84 #841B83 #84501B
square
#1B841C #1B4E84 #841B83 #84501B
split-complementary
#1B841C #501B84 #841B4E
monochromatic
#061E06 #115111 #1B841C #25B727 #41D843

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #1b841c;
/* rgb */ color: rgb(27, 132, 28);
/* oklch */ color: oklch(53.6% 0.166 142.9);
Tailwind
colors: {
  custom: {
    50: '#6ca960',
    500: '#1b841c',
    950: '#000000',
  },
}
SCSS
$custom: #1b841c;
$custom-light: #6ca960;
$custom-dark: #000000;
JSON
{
  "hex": "#1b841c",
  "rgb": {
    "r": 27,
    "g": 132,
    "b": 28
  },
  "hsl": {
    "h": 120.571,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.53601,
    "c": 0.16613,
    "h": 142.9
  },
  "luminance": 0.16819
}

Semantic roles & 50–950 ramp

primary
#1B841C
secondary
#B743B6
accent
#3FE7E9
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #1B841C

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

Preview Lab → · Contrast checker → · Palette generator →

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