#1B8F18#1B8F18

#1B8F18 is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.7% C 0.180 H 142.5°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#1B8F18
RGBrgb(27, 143, 24)
HSLhsl(118, 71%, 33%)
HSVhsv(118, 83%, 56%)
CMYKcmyk(81.1%, 0%, 83.2%, 43.9%)
CIE-LABlab(51.77, -52.68, 49.47)
CIE-LCHlch(51.77, 72.26, 136.80°)
OKLaboklab(56.71% -0.1431 0.1098)
OKLCHoklch(56.71% 0.18 142.5)
XYZxyz(10.4387, 19.9426, 4.1631)
Luminance0.1994 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8F18 #8C188F
analogous
#578F18 #1B8F18 #188F50
triadic
#1B8F18 #181B8F #8F181B
tetradic
#1B8F18 #18578F #8C188F #8F5018
square
#1B8F18 #18578F #8C188F #8F5018
split-complementary
#1B8F18 #50188F #8F1857
monochromatic
#072606 #115B0F #1B8F18 #25C321 #46DF42

Accessibility & contrast

On white

4.21
#1B8F18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#1B8F18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1B8F18
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B8F18#FFFFFF#000000##000000
##1B8F181.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b8f18;
/* rgb */ color: rgb(27, 143, 24);
/* oklch */ color: oklch(56.7% 0.180 142.5);
Tailwind
colors: {
  custom: {
    50: '#6fb160',
    500: '#1b8f18',
    950: '#000000',
  },
}
SCSS
$custom: #1b8f18;
$custom-light: #6fb160;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8f18",
  "rgb": {
    "r": 27,
    "g": 143,
    "b": 24
  },
  "hsl": {
    "h": 118.487,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56707,
    "c": 0.18034,
    "h": 142.5
  },
  "luminance": 0.19944
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1B8F18

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

Preview Lab → · Contrast checker → · Palette generator →

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