#1B8D15#1B8D15

#1B8D15 is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.1% C 0.179 H 142.3°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#1B8D15
RGBrgb(27, 141, 21)
HSLhsl(117, 74%, 32%)
HSVhsv(117, 85%, 55%)
CMYKcmyk(80.9%, 0%, 85.1%, 44.7%)
CIE-LABlab(51.08, -52.21, 49.68)
CIE-LCHlch(51.08, 72.07, 136.43°)
OKLaboklab(56.13% -0.142 0.1098)
OKLCHoklch(56.13% 0.179 142.3)
XYZxyz(10.1116, 19.3357, 3.9086)
Luminance0.1934 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8D15 #87158D
analogous
#578D15 #1B8D15 #158D4B
triadic
#1B8D15 #151B8D #8D151B
tetradic
#1B8D15 #15578D #87158D #8D4B15
square
#1B8D15 #15578D #87158D #8D4B15
split-complementary
#1B8D15 #4B158D #8D1557
monochromatic
#072205 #11580D #1B8D15 #25C21D #43E23B

Accessibility & contrast

On white

4.31
#1B8D15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#1B8D15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1B8D15
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B8D15#FFFFFF#000000##000000
##1B8D151.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#847625
Tritanopia (blue-blind)
#008878
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #1b8d15;
/* rgb */ color: rgb(27, 141, 21);
/* oklch */ color: oklch(56.1% 0.179 142.3);
Tailwind
colors: {
  custom: {
    50: '#6eaf5f',
    500: '#1b8d15',
    950: '#000000',
  },
}
SCSS
$custom: #1b8d15;
$custom-light: #6eaf5f;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8d15",
  "rgb": {
    "r": 27,
    "g": 141,
    "b": 21
  },
  "hsl": {
    "h": 117,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.56125,
    "c": 0.17944,
    "h": 142.3
  },
  "luminance": 0.19337
}

Semantic roles & 50–950 ramp

primary
#1B8D15
secondary
#BA3DC1
accent
#37F1E7
background
#F7FAF5
surface
#EDF5EA
border
#C8CFC6
text
#091105
muted
#7B8079

Preview Lab

Preview with #1B8D15

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

Preview Lab → · Contrast checker → · Palette generator →

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