#1B8D2A#1B8D2A

#1B8D2A is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.3% C 0.168 H 144.5°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#1B8D2A
RGBrgb(27, 141, 42)
HSLhsl(128, 68%, 33%)
HSVhsv(128, 81%, 55%)
CMYKcmyk(80.9%, 0%, 70.2%, 44.7%)
CIE-LABlab(51.21, -50.59, 42.41)
CIE-LCHlch(51.21, 66.01, 140.02°)
OKLaboklab(56.28% -0.1366 0.0975)
OKLCHoklch(56.28% 0.168 144.5)
XYZxyz(10.3941, 19.4487, 5.3962)
Luminance0.1945 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8D2A #8D1B7E
analogous
#458D1B #1B8D2A #1B8D63
triadic
#1B8D2A #2A1B8D #8D2A1B
tetradic
#1B8D2A #1B458D #8D1B7E #8D631B
square
#1B8D2A #1B458D #8D1B7E #8D631B
split-complementary
#1B8D2A #631B8D #8D1B45
monochromatic
#07260B #115A1B #1B8D2A #25C039 #47DC5A

Accessibility & contrast

On white

4.29
#1B8D2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#1B8D2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1B8D2A
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B8D2A#FFFFFF#000000##000000
##1B8D2A1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F1C
Deuteranopia (green-blind)
#837734
Tritanopia (blue-blind)
#008979
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #1b8d2a;
/* rgb */ color: rgb(27, 141, 42);
/* oklch */ color: oklch(56.3% 0.168 144.5);
Tailwind
colors: {
  custom: {
    50: '#6daf69',
    500: '#1b8d2a',
    950: '#000000',
  },
}
SCSS
$custom: #1b8d2a;
$custom-light: #6daf69;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8d2a",
  "rgb": {
    "r": 27,
    "g": 141,
    "b": 42
  },
  "hsl": {
    "h": 127.895,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56275,
    "c": 0.16781,
    "h": 144.5
  },
  "luminance": 0.1945
}

Semantic roles & 50–950 ramp

primary
#1B8D2A
secondary
#BD46AE
accent
#3DD4EB
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081106
muted
#7B807A

Preview Lab

Preview with #1B8D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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