#1B8F40#1B8F40

#1B8F40 is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.1% C 0.153 H 148.6°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#1B8F40
RGBrgb(27, 143, 64)
HSLhsl(139, 68%, 33%)
HSVhsv(139, 81%, 56%)
CMYKcmyk(81.1%, 0%, 55.2%, 43.9%)
CIE-LABlab(52.12, -48.48, 33.09)
CIE-LCHlch(52.12, 58.69, 145.68°)
OKLaboklab(57.1% -0.1302 0.0794)
OKLCHoklch(57.1% 0.153 148.6)
XYZxyz(11.1990, 20.2467, 8.1673)
Luminance0.2025 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8F40 #8F1B6A
analogous
#308F1B #1B8F40 #1B8F7A
triadic
#1B8F40 #401B8F #8F401B
tetradic
#1B8F40 #1B308F #8F1B6A #8F7A1B
square
#1B8F40 #1B308F #8F1B6A #8F7A1B
split-complementary
#1B8F40 #7A1B8F #8F1B30
monochromatic
#082812 #115C29 #1B8F40 #25C257 #48DC77

Accessibility & contrast

On white

4.16
#1B8F40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#1B8F40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1B8F40
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B8F40#FFFFFF#000000##000000
##1B8F401.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#908239
Deuteranopia (green-blind)
#837946
Tritanopia (blue-blind)
#008C7D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #1b8f40;
/* rgb */ color: rgb(27, 143, 64);
/* oklch */ color: oklch(57.1% 0.153 148.6);
Tailwind
colors: {
  custom: {
    50: '#6db177',
    500: '#1b8f40',
    950: '#000000',
  },
}
SCSS
$custom: #1b8f40;
$custom-light: #6db177;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8f40",
  "rgb": {
    "r": 27,
    "g": 143,
    "b": 64
  },
  "hsl": {
    "h": 139.138,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.57102,
    "c": 0.15252,
    "h": 148.6
  },
  "luminance": 0.20248
}

Semantic roles & 50–950 ramp

primary
#1B8F40
secondary
#BE4898
accent
#3DB3EB
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#081109
muted
#7B807B

Preview Lab

Preview with #1B8F40

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

Preview Lab → · Contrast checker → · Palette generator →

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