#1B8A20#1B8A20

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

Color values

HEX#1B8A20
RGBrgb(27, 138, 32)
HSLhsl(123, 67%, 32%)
HSVhsv(123, 80%, 54%)
CMYKcmyk(80.4%, 0%, 76.8%, 45.9%)
CIE-LABlab(50.11, -50.51, 45.24)
CIE-LCHlch(50.11, 67.80, 138.15°)
OKLaboklab(55.34% -0.1369 0.1021)
OKLCHoklch(55.34% 0.171 143.3)
XYZxyz(9.8005, 18.5131, 4.4231)
Luminance0.1851 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8A20 #8A1B85
analogous
#4D8A1B #1B8A20 #1B8A58
triadic
#1B8A20 #201B8A #8A201B
tetradic
#1B8A20 #1B4D8A #8A1B85 #8A581B
square
#1B8A20 #1B4D8A #8A1B85 #8A581B
split-complementary
#1B8A20 #581B8A #8A1B4D
monochromatic
#072408 #115714 #1B8A20 #25BD2C #45DB4C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B8A20#FFFFFF#000000##000000
##1B8A201.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)
#8D7C0A
Deuteranopia (green-blind)
#81742C
Tritanopia (blue-blind)
#008676
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #1b8a20;
/* rgb */ color: rgb(27, 138, 32);
/* oklch */ color: oklch(55.3% 0.171 143.3);
Tailwind
colors: {
  custom: {
    50: '#6dad63',
    500: '#1b8a20',
    950: '#000000',
  },
}
SCSS
$custom: #1b8a20;
$custom-light: #6dad63;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8a20",
  "rgb": {
    "r": 27,
    "g": 138,
    "b": 32
  },
  "hsl": {
    "h": 122.703,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.5534,
    "c": 0.17072,
    "h": 143.3
  },
  "luminance": 0.18514
}

Semantic roles & 50–950 ramp

primary
#1B8A20
secondary
#BC45B7
accent
#3EE2EA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #1B8A20

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

Preview Lab → · Contrast checker → · Palette generator →

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