#1B8A27#1B8A27

#1B8A27 is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.4% C 0.166 H 144.2°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#1B8A27
RGBrgb(27, 138, 39)
HSLhsl(126, 67%, 32%)
HSVhsv(126, 80%, 54%)
CMYKcmyk(80.4%, 0%, 71.7%, 45.9%)
CIE-LABlab(50.16, -49.88, 42.56)
CIE-LCHlch(50.16, 65.57, 139.53°)
OKLaboklab(55.4% -0.1348 0.0974)
OKLCHoklch(55.4% 0.166 144.2)
XYZxyz(9.9060, 18.5553, 4.9785)
Luminance0.1856 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8A27 #8A1B7E
analogous
#478A1B #1B8A27 #1B8A5E
triadic
#1B8A27 #271B8A #8A271B
tetradic
#1B8A27 #1B478A #8A1B7E #8A5E1B
square
#1B8A27 #1B478A #8A1B7E #8A5E1B
split-complementary
#1B8A27 #5E1B8A #8A1B47
monochromatic
#07240A #115719 #1B8A27 #25BD35 #45DB55

Accessibility & contrast

On white

4.46
#1B8A27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#1B8A27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1B8A27
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B8A27#FFFFFF#000000##000000
##1B8A271.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C18
Deuteranopia (green-blind)
#817431
Tritanopia (blue-blind)
#008676
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #1b8a27;
/* rgb */ color: rgb(27, 138, 39);
/* oklch */ color: oklch(55.4% 0.166 144.2);
Tailwind
colors: {
  custom: {
    50: '#6dad67',
    500: '#1b8a27',
    950: '#000000',
  },
}
SCSS
$custom: #1b8a27;
$custom-light: #6dad67;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8a27",
  "rgb": {
    "r": 27,
    "g": 138,
    "b": 39
  },
  "hsl": {
    "h": 126.486,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.55398,
    "c": 0.16633,
    "h": 144.2
  },
  "luminance": 0.18556
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1B8A27

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

Preview Lab → · Contrast checker → · Palette generator →

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