#1B8820#1B8820

#1B8820 is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.8% C 0.168 H 143.3°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#1B8820
RGBrgb(27, 136, 32)
HSLhsl(123, 67%, 32%)
HSVhsv(123, 80%, 53%)
CMYKcmyk(80.1%, 0%, 76.5%, 46.7%)
CIE-LABlab(49.43, -49.85, 44.55)
CIE-LCHlch(49.43, 66.85, 138.21°)
OKLaboklab(54.77% -0.1351 0.1006)
OKLCHoklch(54.77% 0.168 143.3)
XYZxyz(9.5162, 17.9445, 4.3283)
Luminance0.1795 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8820 #881B83
analogous
#4D881B #1B8820 #1B8857
triadic
#1B8820 #201B88 #88201B
tetradic
#1B8820 #1B4D88 #881B83 #88571B
square
#1B8820 #1B4D88 #881B83 #88571B
split-complementary
#1B8820 #571B88 #881B4D
monochromatic
#072208 #115514 #1B8820 #25BB2C #44DA4A

Accessibility & contrast

On white

4.58
#1B8820 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#1B8820 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1B8820
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B8820#FFFFFF#000000##000000
##1B88201.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A0B
Deuteranopia (green-blind)
#7F722B
Tritanopia (blue-blind)
#008474
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #1b8820;
/* rgb */ color: rgb(27, 136, 32);
/* oklch */ color: oklch(54.8% 0.168 143.3);
Tailwind
colors: {
  custom: {
    50: '#6dac63',
    500: '#1b8820',
    950: '#000000',
  },
}
SCSS
$custom: #1b8820;
$custom-light: #6dac63;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8820",
  "rgb": {
    "r": 27,
    "g": 136,
    "b": 32
  },
  "hsl": {
    "h": 122.752,
    "s": 66.871,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54772,
    "c": 0.16843,
    "h": 143.3
  },
  "luminance": 0.17946
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1B8820

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

Preview Lab → · Contrast checker → · Palette generator →

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