#1B8D22#1B8D22

#1B8D22 is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.2% C 0.173 H 143.5°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#1B8D22
RGBrgb(27, 141, 34)
HSLhsl(124, 68%, 33%)
HSVhsv(124, 81%, 55%)
CMYKcmyk(80.9%, 0%, 75.9%, 44.7%)
CIE-LABlab(51.15, -51.32, 45.54)
CIE-LCHlch(51.15, 68.61, 138.42°)
OKLaboklab(56.21% -0.139 0.103)
OKLCHoklch(56.21% 0.173 143.5)
XYZxyz(10.2649, 19.3970, 4.7161)
Luminance0.1940 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8D22 #8D1B86
analogous
#4D8D1B #1B8D22 #1B8D5B
triadic
#1B8D22 #221B8D #8D221B
tetradic
#1B8D22 #1B4D8D #8D1B86 #8D5B1B
square
#1B8D22 #1B4D8D #8D1B86 #8D5B1B
split-complementary
#1B8D22 #5B1B8D #8D1B4D
monochromatic
#072609 #115A16 #1B8D22 #25C02E #47DC50

Accessibility & contrast

On white

4.30
#1B8D22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#1B8D22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1B8D22
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B8D22#FFFFFF#000000##000000
##1B8D221.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F0D
Deuteranopia (green-blind)
#84772E
Tritanopia (blue-blind)
#008978
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #1b8d22;
/* rgb */ color: rgb(27, 141, 34);
/* oklch */ color: oklch(56.2% 0.173 143.5);
Tailwind
colors: {
  custom: {
    50: '#6eaf65',
    500: '#1b8d22',
    950: '#000000',
  },
}
SCSS
$custom: #1b8d22;
$custom-light: #6eaf65;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8d22",
  "rgb": {
    "r": 27,
    "g": 141,
    "b": 34
  },
  "hsl": {
    "h": 123.684,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56206,
    "c": 0.17297,
    "h": 143.5
  },
  "luminance": 0.19398
}

Semantic roles & 50–950 ramp

primary
#1B8D22
secondary
#BD46B6
accent
#3DE0EB
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081106
muted
#7B807A

Preview Lab

Preview with #1B8D22

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

Preview Lab → · Contrast checker → · Palette generator →

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