#1B8B18#1B8B18

#1B8B18 is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.6% C 0.176 H 142.5°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#1B8B18
RGBrgb(27, 139, 24)
HSLhsl(118, 71%, 32%)
HSVhsv(118, 83%, 55%)
CMYKcmyk(80.6%, 0%, 82.7%, 45.5%)
CIE-LABlab(50.41, -51.40, 48.20)
CIE-LCHlch(50.41, 70.46, 136.84°)
OKLaboklab(55.57% -0.1396 0.1071)
OKLCHoklch(55.57% 0.176 142.5)
XYZxyz(9.8489, 18.7630, 3.9665)
Luminance0.1876 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8B18 #88188B
analogous
#558B18 #1B8B18 #188B4F
triadic
#1B8B18 #181B8B #8B181B
tetradic
#1B8B18 #18558B #88188B #8B4F18
square
#1B8B18 #18558B #88188B #8B4F18
split-complementary
#1B8B18 #4F188B #8B1855
monochromatic
#072306 #11570F #1B8B18 #25BF21 #44DE3F

Accessibility & contrast

On white

4.42
#1B8B18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#1B8B18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1B8B18
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B8B18#FFFFFF#000000##000000
##1B8B181.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#827526
Tritanopia (blue-blind)
#008776
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #1b8b18;
/* rgb */ color: rgb(27, 139, 24);
/* oklch */ color: oklch(55.6% 0.176 142.5);
Tailwind
colors: {
  custom: {
    50: '#6eae60',
    500: '#1b8b18',
    950: '#000000',
  },
}
SCSS
$custom: #1b8b18;
$custom-light: #6eae60;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8b18",
  "rgb": {
    "r": 27,
    "g": 139,
    "b": 24
  },
  "hsl": {
    "h": 118.435,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55572,
    "c": 0.17597,
    "h": 142.5
  },
  "luminance": 0.18764
}

Semantic roles & 50–950 ramp

primary
#1B8B18
secondary
#BB40BE
accent
#3AEDE9
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #1B8B18

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

Preview Lab → · Contrast checker → · Palette generator →

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