#1B8F27#1B8F27

#1B8F27 is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.8% C 0.172 H 144.0°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#1B8F27
RGBrgb(27, 143, 39)
HSLhsl(126, 68%, 33%)
HSVhsv(126, 81%, 56%)
CMYKcmyk(81.1%, 0%, 72.7%, 43.9%)
CIE-LABlab(51.86, -51.54, 44.34)
CIE-LCHlch(51.86, 67.99, 139.30°)
OKLaboklab(56.81% -0.1393 0.1011)
OKLCHoklch(56.81% 0.172 144)
XYZxyz(10.6399, 20.0231, 5.2232)
Luminance0.2002 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8F27 #8F1B83
analogous
#498F1B #1B8F27 #1B8F61
triadic
#1B8F27 #271B8F #8F271B
tetradic
#1B8F27 #1B498F #8F1B83 #8F611B
square
#1B8F27 #1B498F #8F1B83 #8F611B
split-complementary
#1B8F27 #611B8F #8F1B49
monochromatic
#08280B #115C19 #1B8F27 #25C235 #48DC57

Accessibility & contrast

On white

4.20
#1B8F27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#1B8F27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1B8F27
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B8F27#FFFFFF#000000##000000
##1B8F271.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#928116
Deuteranopia (green-blind)
#857832
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #1b8f27;
/* rgb */ color: rgb(27, 143, 39);
/* oklch */ color: oklch(56.8% 0.172 144.0);
Tailwind
colors: {
  custom: {
    50: '#6eb167',
    500: '#1b8f27',
    950: '#000000',
  },
}
SCSS
$custom: #1b8f27;
$custom-light: #6eb167;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8f27",
  "rgb": {
    "r": 27,
    "g": 143,
    "b": 39
  },
  "hsl": {
    "h": 126.207,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56812,
    "c": 0.17217,
    "h": 144
  },
  "luminance": 0.20024
}

Semantic roles & 50–950 ramp

primary
#1B8F27
secondary
#BE48B2
accent
#3DD9EB
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081106
muted
#7B807A

Preview Lab

Preview with #1B8F27

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

Preview Lab → · Contrast checker → · Palette generator →

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