#1B8E2B#1B8E2B

#1B8E2B is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.6% C 0.168 H 144.6°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#1B8E2B
RGBrgb(27, 142, 43)
HSLhsl(128, 68%, 33%)
HSVhsv(128, 81%, 56%)
CMYKcmyk(81%, 0%, 69.7%, 44.3%)
CIE-LABlab(51.56, -50.82, 42.36)
CIE-LCHlch(51.56, 66.16, 140.19°)
OKLaboklab(56.57% -0.1372 0.0975)
OKLCHoklch(56.57% 0.168 144.6)
XYZxyz(10.5603, 19.7522, 5.5410)
Luminance0.1975 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8E2B #8E1B7E
analogous
#448E1B #1B8E2B #1B8E64
triadic
#1B8E2B #2B1B8E #8E2B1B
tetradic
#1B8E2B #1B448E #8E1B7E #8E641B
square
#1B8E2B #1B448E #8E1B7E #8E641B
split-complementary
#1B8E2B #641B8E #8E1B44
monochromatic
#07270C #115B1B #1B8E2B #25C13B #47DC5C

Accessibility & contrast

On white

4.24
#1B8E2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#1B8E2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1B8E2B
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B8E2B#FFFFFF#000000##000000
##1B8E2B1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#91801D
Deuteranopia (green-blind)
#847734
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #1b8e2b;
/* rgb */ color: rgb(27, 142, 43);
/* oklch */ color: oklch(56.6% 0.168 144.6);
Tailwind
colors: {
  custom: {
    50: '#6eb06a',
    500: '#1b8e2b',
    950: '#000000',
  },
}
SCSS
$custom: #1b8e2b;
$custom-light: #6eb06a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8e2b",
  "rgb": {
    "r": 27,
    "g": 142,
    "b": 43
  },
  "hsl": {
    "h": 128.348,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56566,
    "c": 0.1683,
    "h": 144.6
  },
  "luminance": 0.19753
}

Semantic roles & 50–950 ramp

primary
#1B8E2B
secondary
#BE47AD
accent
#3DD3EB
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081107
muted
#7B807A

Preview Lab

Preview with #1B8E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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