#1B8B22#1B8B22

#1B8B22 is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.6% C 0.171 H 143.5°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#1B8B22
RGBrgb(27, 139, 34)
HSLhsl(124, 67%, 33%)
HSVhsv(124, 81%, 55%)
CMYKcmyk(80.6%, 0%, 75.5%, 45.5%)
CIE-LABlab(50.47, -50.67, 44.85)
CIE-LCHlch(50.47, 67.67, 138.49°)
OKLaboklab(55.64% -0.1372 0.1015)
OKLCHoklch(55.64% 0.171 143.5)
XYZxyz(9.9727, 18.8125, 4.6187)
Luminance0.1881 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8B22 #8B1B84
analogous
#4C8B1B #1B8B22 #1B8B5A
triadic
#1B8B22 #221B8B #8B221B
tetradic
#1B8B22 #1B4C8B #8B1B84 #8B5A1B
square
#1B8B22 #1B4C8B #8B1B84 #8B5A1B
split-complementary
#1B8B22 #5A1B8B #8B1B4C
monochromatic
#072509 #115815 #1B8B22 #25BE2F #45DB4F

Accessibility & contrast

On white

4.41
#1B8B22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#1B8B22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1B8B22
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B8B22#FFFFFF#000000##000000
##1B8B221.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D0E
Deuteranopia (green-blind)
#82752D
Tritanopia (blue-blind)
#008777
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #1b8b22;
/* rgb */ color: rgb(27, 139, 34);
/* oklch */ color: oklch(55.6% 0.171 143.5);
Tailwind
colors: {
  custom: {
    50: '#6dae64',
    500: '#1b8b22',
    950: '#000000',
  },
}
SCSS
$custom: #1b8b22;
$custom-light: #6dae64;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8b22",
  "rgb": {
    "r": 27,
    "g": 139,
    "b": 34
  },
  "hsl": {
    "h": 123.75,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.5564,
    "c": 0.17068,
    "h": 143.5
  },
  "luminance": 0.18814
}

Semantic roles & 50–950 ramp

primary
#1B8B22
secondary
#BC45B5
accent
#3DE0EA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #1B8B22

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

Preview Lab → · Contrast checker → · Palette generator →

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