#1B8E2C#1B8E2C

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

Color values

HEX#1B8E2C
RGBrgb(27, 142, 44)
HSLhsl(129, 68%, 33%)
HSVhsv(129, 81%, 56%)
CMYKcmyk(81%, 0%, 69%, 44.3%)
CIE-LABlab(51.56, -50.71, 41.94)
CIE-LCHlch(51.56, 65.81, 140.41°)
OKLaboklab(56.58% -0.1369 0.0967)
OKLCHoklch(56.58% 0.168 144.8)
XYZxyz(10.5789, 19.7596, 5.6388)
Luminance0.1976 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8E2C #8E1B7D
analogous
#438E1B #1B8E2C #1B8E65
triadic
#1B8E2C #2C1B8E #8E2C1B
tetradic
#1B8E2C #1B438E #8E1B7D #8E651B
square
#1B8E2C #1B438E #8E1B7D #8E651B
split-complementary
#1B8E2C #651B8E #8E1B43
monochromatic
#07270C #115B1C #1B8E2C #25C13C #47DC5D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B8E2C#FFFFFF#000000##000000
##1B8E2C1.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)
#91801F
Deuteranopia (green-blind)
#847835
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #1b8e2c;
/* rgb */ color: rgb(27, 142, 44);
/* oklch */ color: oklch(56.6% 0.168 144.8);
Tailwind
colors: {
  custom: {
    50: '#6db06a',
    500: '#1b8e2c',
    950: '#000000',
  },
}
SCSS
$custom: #1b8e2c;
$custom-light: #6db06a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8e2c",
  "rgb": {
    "r": 27,
    "g": 142,
    "b": 44
  },
  "hsl": {
    "h": 128.87,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56576,
    "c": 0.16759,
    "h": 144.8
  },
  "luminance": 0.19761
}

Semantic roles & 50–950 ramp

primary
#1B8E2C
secondary
#BE47AC
accent
#3DD1EB
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081107
muted
#7B807A

Preview Lab

Preview with #1B8E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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