#1B8F2B#1B8F2B

#1B8F2B is a mid, vivid green. Relative luminance 0.201; OKLCH L 56.8% C 0.169 H 144.6°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#1B8F2B
RGBrgb(27, 143, 43)
HSLhsl(128, 68%, 33%)
HSVhsv(128, 81%, 56%)
CMYKcmyk(81.1%, 0%, 69.9%, 43.9%)
CIE-LABlab(51.89, -51.15, 42.72)
CIE-LCHlch(51.89, 66.65, 140.13°)
OKLaboklab(56.85% -0.1381 0.0982)
OKLCHoklch(56.85% 0.169 144.6)
XYZxyz(10.7098, 20.0511, 5.5908)
Luminance0.2005 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8F2B #8F1B7F
analogous
#458F1B #1B8F2B #1B8F65
triadic
#1B8F2B #2B1B8F #8F2B1B
tetradic
#1B8F2B #1B458F #8F1B7F #8F651B
square
#1B8F2B #1B458F #8F1B7F #8F651B
split-complementary
#1B8F2B #651B8F #8F1B45
monochromatic
#08280C #115C1C #1B8F2B #25C23A #48DC5C

Accessibility & contrast

On white

4.19
#1B8F2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#1B8F2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1B8F2B
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B8F2B#FFFFFF#000000##000000
##1B8F2B1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#92811D
Deuteranopia (green-blind)
#857835
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #1b8f2b;
/* rgb */ color: rgb(27, 143, 43);
/* oklch */ color: oklch(56.8% 0.169 144.6);
Tailwind
colors: {
  custom: {
    50: '#6eb16a',
    500: '#1b8f2b',
    950: '#000000',
  },
}
SCSS
$custom: #1b8f2b;
$custom-light: #6eb16a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8f2b",
  "rgb": {
    "r": 27,
    "g": 143,
    "b": 43
  },
  "hsl": {
    "h": 128.276,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56848,
    "c": 0.16947,
    "h": 144.6
  },
  "luminance": 0.20052
}

Semantic roles & 50–950 ramp

primary
#1B8F2B
secondary
#BE48AE
accent
#3DD3EB
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081107
muted
#7B807A

Preview Lab

Preview with #1B8F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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