#1B8E2F#1B8E2F

#1B8E2F is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.6% C 0.165 H 145.2°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#1B8E2F
RGBrgb(27, 142, 47)
HSLhsl(130, 68%, 33%)
HSVhsv(130, 81%, 56%)
CMYKcmyk(81%, 0%, 66.9%, 44.3%)
CIE-LABlab(51.59, -50.39, 40.66)
CIE-LCHlch(51.59, 64.74, 141.10°)
OKLaboklab(56.61% -0.1359 0.0943)
OKLCHoklch(56.61% 0.165 145.2)
XYZxyz(10.6373, 19.7830, 5.9466)
Luminance0.1978 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8E2F #8E1B7A
analogous
#408E1B #1B8E2F #1B8E68
triadic
#1B8E2F #2F1B8E #8E2F1B
tetradic
#1B8E2F #1B408E #8E1B7A #8E681B
square
#1B8E2F #1B408E #8E1B7A #8E681B
split-complementary
#1B8E2F #681B8E #8E1B40
monochromatic
#07270D #115B1E #1B8E2F #25C140 #47DC61

Accessibility & contrast

On white

4.24
#1B8E2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#1B8E2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1B8E2F
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B8E2F#FFFFFF#000000##000000
##1B8E2F1.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#908023
Deuteranopia (green-blind)
#847838
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #1b8e2f;
/* rgb */ color: rgb(27, 142, 47);
/* oklch */ color: oklch(56.6% 0.165 145.2);
Tailwind
colors: {
  custom: {
    50: '#6db06c',
    500: '#1b8e2f',
    950: '#000000',
  },
}
SCSS
$custom: #1b8e2f;
$custom-light: #6db06c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8e2f",
  "rgb": {
    "r": 27,
    "g": 142,
    "b": 47
  },
  "hsl": {
    "h": 130.435,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56607,
    "c": 0.16539,
    "h": 145.2
  },
  "luminance": 0.19784
}

Semantic roles & 50–950 ramp

primary
#1B8E2F
secondary
#BE47A9
accent
#3DCDEB
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#081107
muted
#7B807A

Preview Lab

Preview with #1B8E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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