#1B8E2D#1B8E2D

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

Color values

HEX#1B8E2D
RGBrgb(27, 142, 45)
HSLhsl(129, 68%, 33%)
HSVhsv(129, 81%, 56%)
CMYKcmyk(81%, 0%, 68.3%, 44.3%)
CIE-LABlab(51.57, -50.61, 41.52)
CIE-LCHlch(51.57, 65.46, 140.63°)
OKLaboklab(56.59% -0.1365 0.0959)
OKLCHoklch(56.59% 0.167 144.9)
XYZxyz(10.5979, 19.7672, 5.7390)
Luminance0.1977 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8E2D #8E1B7C
analogous
#438E1B #1B8E2D #1B8E66
triadic
#1B8E2D #2D1B8E #8E2D1B
tetradic
#1B8E2D #1B438E #8E1B7C #8E661B
square
#1B8E2D #1B438E #8E1B7C #8E661B
split-complementary
#1B8E2D #661B8E #8E1B43
monochromatic
#07270C #115B1D #1B8E2D #25C13D #47DC5F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B8E2D#FFFFFF#000000##000000
##1B8E2D1.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)
#908020
Deuteranopia (green-blind)
#847836
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #1b8e2d;
/* rgb */ color: rgb(27, 142, 45);
/* oklch */ color: oklch(56.6% 0.167 144.9);
Tailwind
colors: {
  custom: {
    50: '#6db06b',
    500: '#1b8e2d',
    950: '#000000',
  },
}
SCSS
$custom: #1b8e2d;
$custom-light: #6db06b;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8e2d",
  "rgb": {
    "r": 27,
    "g": 142,
    "b": 45
  },
  "hsl": {
    "h": 129.391,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56586,
    "c": 0.16687,
    "h": 144.9
  },
  "luminance": 0.19768
}

Semantic roles & 50–950 ramp

primary
#1B8E2D
secondary
#BE47AB
accent
#3DD0EB
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081107
muted
#7B807A

Preview Lab

Preview with #1B8E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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