#1B8A22#1B8A22

#1B8A22 is a mid, vivid green. Relative luminance 0.185; OKLCH L 55.4% C 0.170 H 143.5°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#1B8A22
RGBrgb(27, 138, 34)
HSLhsl(124, 67%, 32%)
HSVhsv(124, 80%, 54%)
CMYKcmyk(80.4%, 0%, 75.4%, 45.9%)
CIE-LABlab(50.13, -50.34, 44.50)
CIE-LCHlch(50.13, 67.19, 138.52°)
OKLaboklab(55.36% -0.1363 0.1008)
OKLCHoklch(55.36% 0.17 143.5)
XYZxyz(9.8286, 18.5243, 4.5706)
Luminance0.1852 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8A22 #8A1B83
analogous
#4B8A1B #1B8A22 #1B8A5A
triadic
#1B8A22 #221B8A #8A221B
tetradic
#1B8A22 #1B4B8A #8A1B83 #8A5A1B
square
#1B8A22 #1B4B8A #8A1B83 #8A5A1B
split-complementary
#1B8A22 #5A1B8A #8A1B4B
monochromatic
#072409 #115715 #1B8A22 #25BD2F #45DB4E

Accessibility & contrast

On white

4.46
#1B8A22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#1B8A22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1B8A22
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B8A22#FFFFFF#000000##000000
##1B8A221.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C0E
Deuteranopia (green-blind)
#81742D
Tritanopia (blue-blind)
#008676
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #1b8a22;
/* rgb */ color: rgb(27, 138, 34);
/* oklch */ color: oklch(55.4% 0.170 143.5);
Tailwind
colors: {
  custom: {
    50: '#6dad64',
    500: '#1b8a22',
    950: '#000000',
  },
}
SCSS
$custom: #1b8a22;
$custom-light: #6dad64;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8a22",
  "rgb": {
    "r": 27,
    "g": 138,
    "b": 34
  },
  "hsl": {
    "h": 123.784,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.55356,
    "c": 0.16953,
    "h": 143.5
  },
  "luminance": 0.18525
}

Semantic roles & 50–950 ramp

primary
#1B8A22
secondary
#BC45B4
accent
#3EDFEA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #1B8A22

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

Preview Lab → · Contrast checker → · Palette generator →

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