#1B8A1C#1B8A1C

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

Color values

HEX#1B8A1C
RGBrgb(27, 138, 28)
HSLhsl(121, 67%, 32%)
HSVhsv(121, 80%, 54%)
CMYKcmyk(80.4%, 0%, 79.7%, 45.9%)
CIE-LABlab(50.09, -50.81, 46.62)
CIE-LCHlch(50.09, 68.95, 137.46°)
OKLaboklab(55.31% -0.1379 0.1044)
OKLCHoklch(55.31% 0.173 142.9)
XYZxyz(9.7495, 18.4926, 4.1540)
Luminance0.1849 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8A1C #8A1B89
analogous
#518A1B #1B8A1C #1B8A54
triadic
#1B8A1C #1C1B8A #8A1C1B
tetradic
#1B8A1C #1B518A #8A1B89 #8A541B
square
#1B8A1C #1B518A #8A1B89 #8A541B
split-complementary
#1B8A1C #541B8A #8A1B51
monochromatic
#072407 #115712 #1B8A1C #25BD26 #45DB46

Accessibility & contrast

On white

4.47
#1B8A1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B8A1C#FFFFFF#000000##000000
##1B8A1C1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#817429
Tritanopia (blue-blind)
#008675
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #1b8a1c;
/* rgb */ color: rgb(27, 138, 28);
/* oklch */ color: oklch(55.3% 0.173 142.9);
Tailwind
colors: {
  custom: {
    50: '#6dad61',
    500: '#1b8a1c',
    950: '#000000',
  },
}
SCSS
$custom: #1b8a1c;
$custom-light: #6dad61;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8a1c",
  "rgb": {
    "r": 27,
    "g": 138,
    "b": 28
  },
  "hsl": {
    "h": 120.541,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.55312,
    "c": 0.17291,
    "h": 142.9
  },
  "luminance": 0.18494
}

Semantic roles & 50–950 ramp

primary
#1B8A1C
secondary
#BC45BB
accent
#3EE9EA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #1B8A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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