#1B8D2E#1B8D2E

#1B8D2E is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.3% C 0.165 H 145.1°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#1B8D2E
RGBrgb(27, 141, 46)
HSLhsl(130, 68%, 33%)
HSVhsv(130, 81%, 55%)
CMYKcmyk(80.9%, 0%, 67.4%, 44.7%)
CIE-LABlab(51.24, -50.16, 40.72)
CIE-LCHlch(51.24, 64.61, 140.93°)
OKLaboklab(56.32% -0.1353 0.0943)
OKLCHoklch(56.32% 0.165 145.1)
XYZxyz(10.4693, 19.4788, 5.7923)
Luminance0.1948 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8D2E #8D1B7A
analogous
#418D1B #1B8D2E #1B8D67
triadic
#1B8D2E #2E1B8D #8D2E1B
tetradic
#1B8D2E #1B418D #8D1B7A #8D671B
square
#1B8D2E #1B418D #8D1B7A #8D671B
split-complementary
#1B8D2E #671B8D #8D1B41
monochromatic
#07260C #115A1D #1B8D2E #25C03F #47DC60

Accessibility & contrast

On white

4.29
#1B8D2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#1B8D2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1B8D2E
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B8D2E#FFFFFF#000000##000000
##1B8D2E1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F22
Deuteranopia (green-blind)
#837737
Tritanopia (blue-blind)
#008979
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #1b8d2e;
/* rgb */ color: rgb(27, 141, 46);
/* oklch */ color: oklch(56.3% 0.165 145.1);
Tailwind
colors: {
  custom: {
    50: '#6daf6b',
    500: '#1b8d2e',
    950: '#000000',
  },
}
SCSS
$custom: #1b8d2e;
$custom-light: #6daf6b;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8d2e",
  "rgb": {
    "r": 27,
    "g": 141,
    "b": 46
  },
  "hsl": {
    "h": 130,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56315,
    "c": 0.16493,
    "h": 145.1
  },
  "luminance": 0.1948
}

Semantic roles & 50–950 ramp

primary
#1B8D2E
secondary
#BD46AA
accent
#3DCEEB
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081107
muted
#7B807A

Preview Lab

Preview with #1B8D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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