#1B8D1D#1B8D1D

#1B8D1D is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.2% C 0.176 H 143.0°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#1B8D1D
RGBrgb(27, 141, 29)
HSLhsl(121, 68%, 33%)
HSVhsv(121, 81%, 55%)
CMYKcmyk(80.9%, 0%, 79.4%, 44.7%)
CIE-LABlab(51.12, -51.71, 47.28)
CIE-LCHlch(51.12, 70.06, 137.56°)
OKLaboklab(56.17% -0.1403 0.1059)
OKLCHoklch(56.17% 0.176 143)
XYZxyz(10.1980, 19.3702, 4.3635)
Luminance0.1937 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8D1D #8D1B8B
analogous
#528D1B #1B8D1D #1B8D56
triadic
#1B8D1D #1D1B8D #8D1D1B
tetradic
#1B8D1D #1B528D #8D1B8B #8D561B
square
#1B8D1D #1B528D #8D1B8B #8D561B
split-complementary
#1B8D1D #561B8D #8D1B52
monochromatic
#072608 #115A12 #1B8D1D #25C028 #47DC49

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B8D1D#FFFFFF#000000##000000
##1B8D1D1.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)
#84762A
Tritanopia (blue-blind)
#008978
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #1b8d1d;
/* rgb */ color: rgb(27, 141, 29);
/* oklch */ color: oklch(56.2% 0.176 143.0);
Tailwind
colors: {
  custom: {
    50: '#6eaf62',
    500: '#1b8d1d',
    950: '#000000',
  },
}
SCSS
$custom: #1b8d1d;
$custom-light: #6eaf62;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8d1d",
  "rgb": {
    "r": 27,
    "g": 141,
    "b": 29
  },
  "hsl": {
    "h": 121.053,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56171,
    "c": 0.17574,
    "h": 143
  },
  "luminance": 0.19371
}

Semantic roles & 50–950 ramp

primary
#1B8D1D
secondary
#BD46BB
accent
#3DE8EB
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081106
muted
#7B807A

Preview Lab

Preview with #1B8D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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