#1B8E28#1B8E28

#1B8E28 is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.5% C 0.170 H 144.2°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#1B8E28
RGBrgb(27, 142, 40)
HSLhsl(127, 68%, 33%)
HSVhsv(127, 81%, 56%)
CMYKcmyk(81%, 0%, 71.8%, 44.3%)
CIE-LABlab(51.53, -51.12, 43.59)
CIE-LCHlch(51.53, 67.18, 139.55°)
OKLaboklab(56.54% -0.1381 0.0997)
OKLCHoklch(56.54% 0.17 144.2)
XYZxyz(10.5073, 19.7309, 5.2618)
Luminance0.1973 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8E28 #8E1B81
analogous
#478E1B #1B8E28 #1B8E61
triadic
#1B8E28 #281B8E #8E281B
tetradic
#1B8E28 #1B478E #8E1B81 #8E611B
square
#1B8E28 #1B478E #8E1B81 #8E611B
split-complementary
#1B8E28 #611B8E #8E1B47
monochromatic
#07270B #115B1A #1B8E28 #25C136 #47DC58

Accessibility & contrast

On white

4.25
#1B8E28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B8E28#FFFFFF#000000##000000
##1B8E281.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#918018
Deuteranopia (green-blind)
#847732
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #1b8e28;
/* rgb */ color: rgb(27, 142, 40);
/* oklch */ color: oklch(56.5% 0.170 144.2);
Tailwind
colors: {
  custom: {
    50: '#6eb068',
    500: '#1b8e28',
    950: '#000000',
  },
}
SCSS
$custom: #1b8e28;
$custom-light: #6eb068;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8e28",
  "rgb": {
    "r": 27,
    "g": 142,
    "b": 40
  },
  "hsl": {
    "h": 126.783,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56539,
    "c": 0.17035,
    "h": 144.2
  },
  "luminance": 0.19732
}

Semantic roles & 50–950 ramp

primary
#1B8E28
secondary
#BE47B0
accent
#3DD7EB
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081106
muted
#7B807A

Preview Lab

Preview with #1B8E28

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

Preview Lab → · Contrast checker → · Palette generator →

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