#1B8340#1B8340

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

Color values

HEX#1B8340
RGBrgb(27, 131, 64)
HSLhsl(141, 66%, 31%)
HSVhsv(141, 79%, 51%)
CMYKcmyk(79.4%, 0%, 51.1%, 48.6%)
CIE-LABlab(48.05, -44.10, 28.09)
CIE-LCHlch(48.05, 52.29, 147.50°)
OKLaboklab(53.74% -0.1185 0.0683)
OKLCHoklch(53.74% 0.137 150.1)
XYZxyz(9.4929, 16.8346, 7.5986)
Luminance0.1684 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8340 #831B5E
analogous
#2A831B #1B8340 #1B8374
triadic
#1B8340 #401B83 #83401B
tetradic
#1B8340 #1B2A83 #831B5E #83741B
square
#1B8340 #1B2A83 #831B5E #83741B
split-complementary
#1B8340 #741B83 #831B2A
monochromatic
#061E0E #115027 #1B8340 #25B659 #41D876

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B8340#FFFFFF#000000##FFFFFF
##1B83401.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)
#84773A
Deuteranopia (green-blind)
#786F45
Tritanopia (blue-blind)
#008173
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1b8340;
/* rgb */ color: rgb(27, 131, 64);
/* oklch */ color: oklch(53.7% 0.137 150.1);
Tailwind
colors: {
  custom: {
    50: '#6aa876',
    500: '#1b8340',
    950: '#000000',
  },
}
SCSS
$custom: #1b8340;
$custom-light: #6aa876;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8340",
  "rgb": {
    "r": 27,
    "g": 131,
    "b": 64
  },
  "hsl": {
    "h": 141.346,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.53735,
    "c": 0.13673,
    "h": 150.1
  },
  "luminance": 0.16836
}

Semantic roles & 50–950 ramp

primary
#1B8340
secondary
#B6438D
accent
#3FACE9
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#071008
muted
#7A7F7B

Preview Lab

Preview with #1B8340

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

Preview Lab → · Contrast checker → · Palette generator →

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