#1B8620#1B8620

#1B8620 is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.2% C 0.166 H 143.3°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#1B8620
RGBrgb(27, 134, 32)
HSLhsl(123, 66%, 32%)
HSVhsv(123, 80%, 53%)
CMYKcmyk(79.9%, 0%, 76.1%, 47.5%)
CIE-LABlab(48.74, -49.18, 43.86)
CIE-LCHlch(48.74, 65.90, 138.27°)
OKLaboklab(54.2% -0.1333 0.0992)
OKLCHoklch(54.2% 0.166 143.3)
XYZxyz(9.2372, 17.3864, 4.2353)
Luminance0.1739 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8620 #861B81
analogous
#4C861B #1B8620 #1B8656
triadic
#1B8620 #201B86 #86201B
tetradic
#1B8620 #1B4C86 #861B81 #86561B
square
#1B8620 #1B4C86 #861B81 #86561B
split-complementary
#1B8620 #561B86 #861B4C
monochromatic
#062008 #115314 #1B8620 #25B92C #42D949

Accessibility & contrast

On white

4.69
#1B8620 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#1B8620 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B8620
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B8620#FFFFFF#000000##FFFFFF
##1B86201.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#89790C
Deuteranopia (green-blind)
#7D712B
Tritanopia (blue-blind)
#008272
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1b8620;
/* rgb */ color: rgb(27, 134, 32);
/* oklch */ color: oklch(54.2% 0.166 143.3);
Tailwind
colors: {
  custom: {
    50: '#6caa63',
    500: '#1b8620',
    950: '#000000',
  },
}
SCSS
$custom: #1b8620;
$custom-light: #6caa63;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8620",
  "rgb": {
    "r": 27,
    "g": 134,
    "b": 32
  },
  "hsl": {
    "h": 122.804,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54202,
    "c": 0.16613,
    "h": 143.3
  },
  "luminance": 0.17387
}

Semantic roles & 50–950 ramp

primary
#1B8620
secondary
#B944B4
accent
#3EE1E9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #1B8620

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

Preview Lab → · Contrast checker → · Palette generator →

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