#1B8A21#1B8A21

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

Color values

HEX#1B8A21
RGBrgb(27, 138, 33)
HSLhsl(123, 67%, 32%)
HSVhsv(123, 80%, 54%)
CMYKcmyk(80.4%, 0%, 76.1%, 45.9%)
CIE-LABlab(50.12, -50.42, 44.87)
CIE-LCHlch(50.12, 67.50, 138.33°)
OKLaboklab(55.35% -0.1366 0.1014)
OKLCHoklch(55.35% 0.17 143.4)
XYZxyz(9.8143, 18.5186, 4.4958)
Luminance0.1852 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8A21 #8A1B84
analogous
#4D8A1B #1B8A21 #1B8A58
triadic
#1B8A21 #211B8A #8A211B
tetradic
#1B8A21 #1B4D8A #8A1B84 #8A581B
square
#1B8A21 #1B4D8A #8A1B84 #8A581B
split-complementary
#1B8A21 #581B8A #8A1B4D
monochromatic
#072409 #115715 #1B8A21 #25BD2D #45DB4D

Accessibility & contrast

On white

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

On black

4.70
#1B8A21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1B8A21
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B8A21#FFFFFF#000000##000000
##1B8A211.004.464.704.70
#FFFFFF4.461.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b8a21;
/* rgb */ color: rgb(27, 138, 33);
/* oklch */ color: oklch(55.3% 0.170 143.4);
Tailwind
colors: {
  custom: {
    50: '#6dad64',
    500: '#1b8a21',
    950: '#000000',
  },
}
SCSS
$custom: #1b8a21;
$custom-light: #6dad64;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8a21",
  "rgb": {
    "r": 27,
    "g": 138,
    "b": 33
  },
  "hsl": {
    "h": 123.243,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.55348,
    "c": 0.17013,
    "h": 143.4
  },
  "luminance": 0.1852
}

Semantic roles & 50–950 ramp

primary
#1B8A21
secondary
#BC45B6
accent
#3EE1EA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #1B8A21

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

Preview Lab → · Contrast checker → · Palette generator →

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