#1B8E1B#1B8E1B

#1B8E1B is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.4% C 0.178 H 142.8°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#1B8E1B
RGBrgb(27, 142, 27)
HSLhsl(120, 68%, 33%)
HSVhsv(120, 81%, 56%)
CMYKcmyk(81%, 0%, 81%, 44.3%)
CIE-LABlab(51.45, -52.17, 48.25)
CIE-LCHlch(51.45, 71.06, 137.24°)
OKLaboklab(56.44% -0.1416 0.1076)
OKLCHoklch(56.44% 0.178 142.8)
XYZxyz(10.3222, 19.6569, 4.2868)
Luminance0.1966 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8E1B #8E1B8E
analogous
#548E1B #1B8E1B #1B8E54
triadic
#1B8E1B #1B1B8E #8E1B1B
tetradic
#1B8E1B #1B548E #8E1B8E #8E541B
square
#1B8E1B #1B548E #8E1B8E #8E541B
split-complementary
#1B8E1B #541B8E #8E1B54
monochromatic
#072707 #115B11 #1B8E1B #25C125 #47DC47

Accessibility & contrast

On white

4.26
#1B8E1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#1B8E1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1B8E1B
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B8E1B#FFFFFF#000000##000000
##1B8E1B1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#857729
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #1b8e1b;
/* rgb */ color: rgb(27, 142, 27);
/* oklch */ color: oklch(56.4% 0.178 142.8);
Tailwind
colors: {
  custom: {
    50: '#6eb061',
    500: '#1b8e1b',
    950: '#000000',
  },
}
SCSS
$custom: #1b8e1b;
$custom-light: #6eb061;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8e1b",
  "rgb": {
    "r": 27,
    "g": 142,
    "b": 27
  },
  "hsl": {
    "h": 120,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56441,
    "c": 0.17786,
    "h": 142.8
  },
  "luminance": 0.19658
}

Semantic roles & 50–950 ramp

primary
#1B8E1B
secondary
#BE47BE
accent
#3DEBEB
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091105
muted
#7B807A

Preview Lab

Preview with #1B8E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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