#1B8B28#1B8B28

#1B8B28 is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.7% C 0.167 H 144.3°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#1B8B28
RGBrgb(27, 139, 40)
HSLhsl(127, 67%, 33%)
HSVhsv(127, 81%, 55%)
CMYKcmyk(80.6%, 0%, 71.2%, 45.5%)
CIE-LABlab(50.51, -50.12, 42.51)
CIE-LCHlch(50.51, 65.72, 139.70°)
OKLaboklab(55.69% -0.1354 0.0974)
OKLCHoklch(55.69% 0.167 144.3)
XYZxyz(10.0669, 18.8502, 5.1150)
Luminance0.1885 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8B28 #8B1B7E
analogous
#468B1B #1B8B28 #1B8B60
triadic
#1B8B28 #281B8B #8B281B
tetradic
#1B8B28 #1B468B #8B1B7E #8B601B
square
#1B8B28 #1B468B #8B1B7E #8B601B
split-complementary
#1B8B28 #601B8B #8B1B46
monochromatic
#07250B #115819 #1B8B28 #25BE37 #45DB57

Accessibility & contrast

On white

4.40
#1B8B28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#1B8B28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1B8B28
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B8B28#FFFFFF#000000##000000
##1B8B281.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D19
Deuteranopia (green-blind)
#827532
Tritanopia (blue-blind)
#008777
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #1b8b28;
/* rgb */ color: rgb(27, 139, 40);
/* oklch */ color: oklch(55.7% 0.167 144.3);
Tailwind
colors: {
  custom: {
    50: '#6dae68',
    500: '#1b8b28',
    950: '#000000',
  },
}
SCSS
$custom: #1b8b28;
$custom-light: #6dae68;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8b28",
  "rgb": {
    "r": 27,
    "g": 139,
    "b": 40
  },
  "hsl": {
    "h": 126.964,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.55691,
    "c": 0.16683,
    "h": 144.3
  },
  "luminance": 0.18851
}

Semantic roles & 50–950 ramp

primary
#1B8B28
secondary
#BC45AF
accent
#3DD6EA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #1B8B28

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

Preview Lab → · Contrast checker → · Palette generator →

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