#1B8116#1B8116

#1B8116 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.7% C 0.166 H 142.3°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#1B8116
RGBrgb(27, 129, 22)
HSLhsl(117, 71%, 30%)
HSVhsv(117, 83%, 51%)
CMYKcmyk(79.1%, 0%, 82.9%, 49.4%)
CIE-LABlab(46.96, -48.26, 45.57)
CIE-LCHlch(46.96, 66.38, 136.64°)
OKLaboklab(52.7% -0.1312 0.1013)
OKLCHoklch(52.7% 0.166 142.3)
XYZxyz(8.4466, 15.9905, 3.4002)
Luminance0.1599 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8116 #7C1681
analogous
#518116 #1B8116 #168146
triadic
#1B8116 #161B81 #81161B
tetradic
#1B8116 #165181 #7C1681 #814616
square
#1B8116 #165181 #7C1681 #814616
split-complementary
#1B8116 #461681 #811651
monochromatic
#051A04 #104D0D #1B8116 #26B51F #3DDD35

Accessibility & contrast

On white

5.00
#1B8116 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#1B8116 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B8116
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B8116#FFFFFF#000000##FFFFFF
##1B81161.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#796C23
Tritanopia (blue-blind)
#007D6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #1b8116;
/* rgb */ color: rgb(27, 129, 22);
/* oklch */ color: oklch(52.7% 0.166 142.3);
Tailwind
colors: {
  custom: {
    50: '#6ba75d',
    500: '#1b8116',
    950: '#000000',
  },
}
SCSS
$custom: #1b8116;
$custom-light: #6ba75d;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8116",
  "rgb": {
    "r": 27,
    "g": 129,
    "b": 22
  },
  "hsl": {
    "h": 117.196,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52702,
    "c": 0.1658,
    "h": 142.3
  },
  "luminance": 0.15991
}

Semantic roles & 50–950 ramp

primary
#1B8116
secondary
#B03DB6
accent
#3AEEE5
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #1B8116

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

Preview Lab → · Contrast checker → · Palette generator →

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