#1B8F17#1B8F17

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

Color values

HEX#1B8F17
RGBrgb(27, 143, 23)
HSLhsl(118, 72%, 33%)
HSVhsv(118, 84%, 56%)
CMYKcmyk(81.1%, 0%, 83.9%, 43.9%)
CIE-LABlab(51.77, -52.73, 49.75)
CIE-LCHlch(51.77, 72.50, 136.67°)
OKLaboklab(56.7% -0.1433 0.1102)
OKLCHoklch(56.7% 0.181 142.4)
XYZxyz(10.4285, 19.9385, 4.1094)
Luminance0.1994 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8F17 #8B178F
analogous
#578F17 #1B8F17 #178F4F
triadic
#1B8F17 #171B8F #8F171B
tetradic
#1B8F17 #17578F #8B178F #8F4F17
square
#1B8F17 #17578F #8B178F #8F4F17
split-complementary
#1B8F17 #4F178F #8F1757
monochromatic
#072606 #115A0F #1B8F17 #25C41F #45E040

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B8F17#FFFFFF#000000##000000
##1B8F171.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: #1b8f17;
/* rgb */ color: rgb(27, 143, 23);
/* oklch */ color: oklch(56.7% 0.181 142.4);
Tailwind
colors: {
  custom: {
    50: '#6fb160',
    500: '#1b8f17',
    950: '#000000',
  },
}
SCSS
$custom: #1b8f17;
$custom-light: #6fb160;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8f17",
  "rgb": {
    "r": 27,
    "g": 143,
    "b": 23
  },
  "hsl": {
    "h": 118,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56702,
    "c": 0.18077,
    "h": 142.4
  },
  "luminance": 0.1994
}

Semantic roles & 50–950 ramp

primary
#1B8F17
secondary
#BC41C1
accent
#39EFE9
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091105
muted
#7B807A

Preview Lab

Preview with #1B8F17

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

Preview Lab → · Contrast checker → · Palette generator →

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