#1B8D2B#1B8D2B

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

Color values

HEX#1B8D2B
RGBrgb(27, 141, 43)
HSLhsl(128, 68%, 33%)
HSVhsv(128, 81%, 55%)
CMYKcmyk(80.9%, 0%, 69.5%, 44.7%)
CIE-LABlab(51.22, -50.48, 42.00)
CIE-LCHlch(51.22, 65.67, 140.24°)
OKLaboklab(56.28% -0.1363 0.0967)
OKLCHoklch(56.28% 0.167 144.6)
XYZxyz(10.4122, 19.4559, 5.4916)
Luminance0.1946 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8D2B #8D1B7D
analogous
#448D1B #1B8D2B #1B8D64
triadic
#1B8D2B #2B1B8D #8D2B1B
tetradic
#1B8D2B #1B448D #8D1B7D #8D641B
square
#1B8D2B #1B448D #8D1B7D #8D641B
split-complementary
#1B8D2B #641B8D #8D1B44
monochromatic
#07260C #115A1B #1B8D2B #25C03B #47DC5C

Accessibility & contrast

On white

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

On black

4.89
#1B8D2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1B8D2B
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B8D2B#FFFFFF#000000##000000
##1B8D2B1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F1D
Deuteranopia (green-blind)
#837734
Tritanopia (blue-blind)
#008979
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #1b8d2b;
/* rgb */ color: rgb(27, 141, 43);
/* oklch */ color: oklch(56.3% 0.167 144.6);
Tailwind
colors: {
  custom: {
    50: '#6daf69',
    500: '#1b8d2b',
    950: '#000000',
  },
}
SCSS
$custom: #1b8d2b;
$custom-light: #6daf69;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8d2b",
  "rgb": {
    "r": 27,
    "g": 141,
    "b": 43
  },
  "hsl": {
    "h": 128.421,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56284,
    "c": 0.16711,
    "h": 144.6
  },
  "luminance": 0.19457
}

Semantic roles & 50–950 ramp

primary
#1B8D2B
secondary
#BD46AD
accent
#3DD2EB
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081107
muted
#7B807A

Preview Lab

Preview with #1B8D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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