#1B8115#1B8115

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

Color values

HEX#1B8115
RGBrgb(27, 129, 21)
HSLhsl(117, 72%, 29%)
HSVhsv(117, 84%, 51%)
CMYKcmyk(79.1%, 0%, 83.7%, 49.4%)
CIE-LABlab(46.96, -48.32, 45.87)
CIE-LCHlch(46.96, 66.63, 136.49°)
OKLaboklab(52.7% -0.1314 0.1018)
OKLCHoklch(52.7% 0.166 142.2)
XYZxyz(8.4371, 15.9867, 3.3504)
Luminance0.1599 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8115 #7B1581
analogous
#518115 #1B8115 #158145
triadic
#1B8115 #151B81 #81151B
tetradic
#1B8115 #155181 #7B1581 #814515
square
#1B8115 #155181 #7B1581 #814515
split-complementary
#1B8115 #451581 #811551
monochromatic
#061A04 #104C0C #1B8115 #26B61E #3CDE33

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B8115#FFFFFF#000000##FFFFFF
##1B81151.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: #1b8115;
/* rgb */ color: rgb(27, 129, 21);
/* oklch */ color: oklch(52.7% 0.166 142.2);
Tailwind
colors: {
  custom: {
    50: '#6ba75d',
    500: '#1b8115',
    950: '#000000',
  },
}
SCSS
$custom: #1b8115;
$custom-light: #6ba75d;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8115",
  "rgb": {
    "r": 27,
    "g": 129,
    "b": 21
  },
  "hsl": {
    "h": 116.667,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52696,
    "c": 0.16626,
    "h": 142.2
  },
  "luminance": 0.15988
}

Semantic roles & 50–950 ramp

primary
#1B8115
secondary
#AF3CB6
accent
#39EFE5
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #1B8115

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

Preview Lab → · Contrast checker → · Palette generator →

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