#1B841F#1B841F

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

Color values

HEX#1B841F
RGBrgb(27, 132, 31)
HSLhsl(122, 66%, 31%)
HSVhsv(122, 80%, 52%)
CMYKcmyk(79.5%, 0%, 76.5%, 48.2%)
CIE-LABlab(48.05, -48.60, 43.54)
CIE-LCHlch(48.05, 65.25, 138.14°)
OKLaboklab(53.62% -0.1317 0.0984)
OKLCHoklch(53.62% 0.164 143.2)
XYZxyz(8.9500, 16.8334, 4.0735)
Luminance0.1683 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B841F #841B80
analogous
#4B841B #1B841F #1B8453
triadic
#1B841F #1F1B84 #841F1B
tetradic
#1B841F #1B4B84 #841B80 #84531B
square
#1B841F #1B4B84 #841B80 #84531B
split-complementary
#1B841F #531B84 #841B4B
monochromatic
#061E07 #115113 #1B841F #25B72B #41D847

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B841F#FFFFFF#000000##FFFFFF
##1B841F1.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)
#87770B
Deuteranopia (green-blind)
#7B6F2A
Tritanopia (blue-blind)
#008071
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1b841f;
/* rgb */ color: rgb(27, 132, 31);
/* oklch */ color: oklch(53.6% 0.164 143.2);
Tailwind
colors: {
  custom: {
    50: '#6ca962',
    500: '#1b841f',
    950: '#000000',
  },
}
SCSS
$custom: #1b841f;
$custom-light: #6ca962;
$custom-dark: #000000;
JSON
{
  "hex": "#1b841f",
  "rgb": {
    "r": 27,
    "g": 132,
    "b": 31
  },
  "hsl": {
    "h": 122.286,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.53623,
    "c": 0.16441,
    "h": 143.2
  },
  "luminance": 0.16834
}

Semantic roles & 50–950 ramp

primary
#1B841F
secondary
#B743B3
accent
#3FE2E9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #1B841F

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

Preview Lab → · Contrast checker → · Palette generator →

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