#1B8240#1B8240

#1B8240 is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.5% C 0.135 H 150.2°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#1B8240
RGBrgb(27, 130, 64)
HSLhsl(142, 66%, 31%)
HSVhsv(142, 79%, 51%)
CMYKcmyk(79.2%, 0%, 50.8%, 49%)
CIE-LABlab(47.71, -43.72, 27.66)
CIE-LCHlch(47.71, 51.74, 147.68°)
OKLaboklab(53.45% -0.1175 0.0673)
OKLCHoklch(53.45% 0.135 150.2)
XYZxyz(9.3592, 16.5673, 7.5540)
Luminance0.1657 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8240 #821B5D
analogous
#2A821B #1B8240 #1B8273
triadic
#1B8240 #401B82 #82401B
tetradic
#1B8240 #1B2A82 #821B5D #82731B
square
#1B8240 #1B2A82 #821B5D #82731B
split-complementary
#1B8240 #731B82 #821B2A
monochromatic
#061D0E #104F27 #1B8240 #26B559 #40D776

Accessibility & contrast

On white

4.87
#1B8240 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#1B8240 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B8240
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B8240#FFFFFF#000000##FFFFFF
##1B82401.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83763B
Deuteranopia (green-blind)
#776E45
Tritanopia (blue-blind)
#008073
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #1b8240;
/* rgb */ color: rgb(27, 130, 64);
/* oklch */ color: oklch(53.5% 0.135 150.2);
Tailwind
colors: {
  custom: {
    50: '#69a776',
    500: '#1b8240',
    950: '#000000',
  },
}
SCSS
$custom: #1b8240;
$custom-light: #69a776;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8240",
  "rgb": {
    "r": 27,
    "g": 130,
    "b": 64
  },
  "hsl": {
    "h": 141.553,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53453,
    "c": 0.13538,
    "h": 150.2
  },
  "luminance": 0.16568
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1B8240

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

Preview Lab → · Contrast checker → · Palette generator →

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