#1B8D20#1B8D20

#1B8D20 is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.2% C 0.174 H 143.3°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#1B8D20
RGBrgb(27, 141, 32)
HSLhsl(123, 68%, 33%)
HSVhsv(123, 81%, 55%)
CMYKcmyk(80.9%, 0%, 77.3%, 44.7%)
CIE-LABlab(51.14, -51.49, 46.25)
CIE-LCHlch(51.14, 69.21, 138.06°)
OKLaboklab(56.19% -0.1395 0.1042)
OKLCHoklch(56.19% 0.174 143.3)
XYZxyz(10.2369, 19.3858, 4.5685)
Luminance0.1939 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8D20 #8D1B88
analogous
#4F8D1B #1B8D20 #1B8D59
triadic
#1B8D20 #201B8D #8D201B
tetradic
#1B8D20 #1B4F8D #8D1B88 #8D591B
square
#1B8D20 #1B4F8D #8D1B88 #8D591B
split-complementary
#1B8D20 #591B8D #8D1B4F
monochromatic
#072609 #115A14 #1B8D20 #25C02C #47DC4D

Accessibility & contrast

On white

4.31
#1B8D20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#1B8D20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1B8D20
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B8D20#FFFFFF#000000##000000
##1B8D201.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F08
Deuteranopia (green-blind)
#84772C
Tritanopia (blue-blind)
#008978
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #1b8d20;
/* rgb */ color: rgb(27, 141, 32);
/* oklch */ color: oklch(56.2% 0.174 143.3);
Tailwind
colors: {
  custom: {
    50: '#6eaf64',
    500: '#1b8d20',
    950: '#000000',
  },
}
SCSS
$custom: #1b8d20;
$custom-light: #6eaf64;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8d20",
  "rgb": {
    "r": 27,
    "g": 141,
    "b": 32
  },
  "hsl": {
    "h": 122.632,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56191,
    "c": 0.17412,
    "h": 143.3
  },
  "luminance": 0.19387
}

Semantic roles & 50–950 ramp

primary
#1B8D20
secondary
#BD46B8
accent
#3DE3EB
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081106
muted
#7B807A

Preview Lab

Preview with #1B8D20

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

Preview Lab → · Contrast checker → · Palette generator →

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