#1B8B20#1B8B20

#1B8B20 is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.6% C 0.172 H 143.3°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#1B8B20
RGBrgb(27, 139, 32)
HSLhsl(123, 67%, 33%)
HSVhsv(123, 81%, 55%)
CMYKcmyk(80.6%, 0%, 77%, 45.5%)
CIE-LABlab(50.45, -50.83, 45.58)
CIE-LCHlch(50.45, 68.27, 138.12°)
OKLaboklab(55.62% -0.1377 0.1028)
OKLCHoklch(55.62% 0.172 143.3)
XYZxyz(9.9447, 18.8013, 4.4711)
Luminance0.1880 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8B20 #8B1B86
analogous
#4E8B1B #1B8B20 #1B8B58
triadic
#1B8B20 #201B8B #8B201B
tetradic
#1B8B20 #1B4E8B #8B1B86 #8B581B
square
#1B8B20 #1B4E8B #8B1B86 #8B581B
split-complementary
#1B8B20 #581B8B #8B1B4E
monochromatic
#072508 #115814 #1B8B20 #25BE2C #45DB4C

Accessibility & contrast

On white

4.41
#1B8B20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#1B8B20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1B8B20
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B8B20#FFFFFF#000000##000000
##1B8B201.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D09
Deuteranopia (green-blind)
#82752C
Tritanopia (blue-blind)
#008777
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #1b8b20;
/* rgb */ color: rgb(27, 139, 32);
/* oklch */ color: oklch(55.6% 0.172 143.3);
Tailwind
colors: {
  custom: {
    50: '#6dae63',
    500: '#1b8b20',
    950: '#000000',
  },
}
SCSS
$custom: #1b8b20;
$custom-light: #6dae63;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8b20",
  "rgb": {
    "r": 27,
    "g": 139,
    "b": 32
  },
  "hsl": {
    "h": 122.679,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.55624,
    "c": 0.17186,
    "h": 143.3
  },
  "luminance": 0.18803
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1B8B20

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

Preview Lab → · Contrast checker → · Palette generator →

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