#1B8D1A#1B8D1A

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

Color values

HEX#1B8D1A
RGBrgb(27, 141, 26)
HSLhsl(119, 69%, 33%)
HSVhsv(119, 82%, 55%)
CMYKcmyk(80.9%, 0%, 81.6%, 44.7%)
CIE-LABlab(51.10, -51.91, 48.24)
CIE-LCHlch(51.10, 70.86, 137.10°)
OKLaboklab(56.15% -0.1409 0.1075)
OKLCHoklch(56.15% 0.177 142.7)
XYZxyz(10.1627, 19.3561, 4.1776)
Luminance0.1936 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8D1A #8C1A8D
analogous
#558D1A #1B8D1A #1A8D52
triadic
#1B8D1A #1A1B8D #8D1A1B
tetradic
#1B8D1A #1A558D #8C1A8D #8D521A
square
#1B8D1A #1A558D #8C1A8D #8D521A
split-complementary
#1B8D1A #521A8D #8D1A55
monochromatic
#072607 #115910 #1B8D1A #25C124 #46DD45

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B8D1A#FFFFFF#000000##000000
##1B8D1A1.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)
#847628
Tritanopia (blue-blind)
#008978
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #1b8d1a;
/* rgb */ color: rgb(27, 141, 26);
/* oklch */ color: oklch(56.2% 0.177 142.7);
Tailwind
colors: {
  custom: {
    50: '#6eaf61',
    500: '#1b8d1a',
    950: '#000000',
  },
}
SCSS
$custom: #1b8d1a;
$custom-light: #6eaf61;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8d1a",
  "rgb": {
    "r": 27,
    "g": 141,
    "b": 26
  },
  "hsl": {
    "h": 119.478,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56152,
    "c": 0.17724,
    "h": 142.7
  },
  "luminance": 0.19357
}

Semantic roles & 50–950 ramp

primary
#1B8D1A
secondary
#BD45BE
accent
#3CECEA
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091105
muted
#7B807A

Preview Lab

Preview with #1B8D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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