#1B8242#1B8242

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

Color values

HEX#1B8242
RGBrgb(27, 130, 66)
HSLhsl(143, 66%, 31%)
HSVhsv(143, 79%, 51%)
CMYKcmyk(79.2%, 0%, 49.2%, 49%)
CIE-LABlab(47.74, -43.38, 26.62)
CIE-LCHlch(47.74, 50.89, 148.46°)
OKLaboklab(53.49% -0.1165 0.065)
OKLCHoklch(53.49% 0.133 150.8)
XYZxyz(9.4172, 16.5905, 7.8592)
Luminance0.1659 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8242 #821B5B
analogous
#28821B #1B8242 #1B8275
triadic
#1B8242 #421B82 #82421B
tetradic
#1B8242 #1B2882 #821B5B #82751B
square
#1B8242 #1B2882 #821B5B #82751B
split-complementary
#1B8242 #751B82 #821B28
monochromatic
#061D0F #104F28 #1B8242 #26B55C #40D779

Accessibility & contrast

On white

4.86
#1B8242 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#1B8242 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B8242
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B8242#FFFFFF#000000##FFFFFF
##1B82421.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b8242;
/* rgb */ color: rgb(27, 130, 66);
/* oklch */ color: oklch(53.5% 0.133 150.8);
Tailwind
colors: {
  custom: {
    50: '#69a777',
    500: '#1b8242',
    950: '#000000',
  },
}
SCSS
$custom: #1b8242;
$custom-light: #69a777;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8242",
  "rgb": {
    "r": 27,
    "g": 130,
    "b": 66
  },
  "hsl": {
    "h": 142.718,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53487,
    "c": 0.13346,
    "h": 150.8
  },
  "luminance": 0.16592
}

Semantic roles & 50–950 ramp

primary
#1B8242
secondary
#B6438A
accent
#3FA8E9
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#071009
muted
#7A7F7B

Preview Lab

Preview with #1B8242

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

Preview Lab → · Contrast checker → · Palette generator →

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