#1B8E18#1B8E18

#1B8E18 is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.4% C 0.179 H 142.5°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#1B8E18
RGBrgb(27, 142, 24)
HSLhsl(118, 71%, 33%)
HSVhsv(118, 83%, 56%)
CMYKcmyk(81%, 0%, 83.1%, 44.3%)
CIE-LABlab(51.43, -52.36, 49.15)
CIE-LCHlch(51.43, 71.82, 136.81°)
OKLaboklab(56.42% -0.1422 0.1091)
OKLCHoklch(56.42% 0.179 142.5)
XYZxyz(10.2892, 19.6437, 4.1133)
Luminance0.1965 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8E18 #8B188E
analogous
#568E18 #1B8E18 #188E50
triadic
#1B8E18 #181B8E #8E181B
tetradic
#1B8E18 #18568E #8B188E #8E5018
square
#1B8E18 #18568E #8B188E #8E5018
split-complementary
#1B8E18 #50188E #8E1856
monochromatic
#072506 #115A0F #1B8E18 #25C221 #45DF41

Accessibility & contrast

On white

4.26
#1B8E18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#1B8E18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1B8E18
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B8E18#FFFFFF#000000##000000
##1B8E181.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#857727
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #1b8e18;
/* rgb */ color: rgb(27, 142, 24);
/* oklch */ color: oklch(56.4% 0.179 142.5);
Tailwind
colors: {
  custom: {
    50: '#6eb060',
    500: '#1b8e18',
    950: '#000000',
  },
}
SCSS
$custom: #1b8e18;
$custom-light: #6eb060;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8e18",
  "rgb": {
    "r": 27,
    "g": 142,
    "b": 24
  },
  "hsl": {
    "h": 118.475,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56424,
    "c": 0.17926,
    "h": 142.5
  },
  "luminance": 0.19645
}

Semantic roles & 50–950 ramp

primary
#1B8E18
secondary
#BC42C0
accent
#3AEEE9
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091105
muted
#7B807A

Preview Lab

Preview with #1B8E18

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

Preview Lab → · Contrast checker → · Palette generator →

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