#1B8D2F#1B8D2F

#1B8D2F is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.3% C 0.164 H 145.3°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#1B8D2F
RGBrgb(27, 141, 47)
HSLhsl(131, 68%, 33%)
HSVhsv(131, 81%, 55%)
CMYKcmyk(80.9%, 0%, 66.7%, 44.7%)
CIE-LABlab(51.25, -50.05, 40.28)
CIE-LCHlch(51.25, 64.24, 141.17°)
OKLaboklab(56.33% -0.1349 0.0935)
OKLCHoklch(56.33% 0.164 145.3)
XYZxyz(10.4892, 19.4867, 5.8973)
Luminance0.1949 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8D2F #8D1B79
analogous
#408D1B #1B8D2F #1B8D68
triadic
#1B8D2F #2F1B8D #8D2F1B
tetradic
#1B8D2F #1B408D #8D1B79 #8D681B
square
#1B8D2F #1B408D #8D1B79 #8D681B
split-complementary
#1B8D2F #681B8D #8D1B40
monochromatic
#07260D #115A1E #1B8D2F #25C040 #47DC61

Accessibility & contrast

On white

4.29
#1B8D2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#1B8D2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1B8D2F
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B8D2F#FFFFFF#000000##000000
##1B8D2F1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F23
Deuteranopia (green-blind)
#837737
Tritanopia (blue-blind)
#008979
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #1b8d2f;
/* rgb */ color: rgb(27, 141, 47);
/* oklch */ color: oklch(56.3% 0.164 145.3);
Tailwind
colors: {
  custom: {
    50: '#6daf6c',
    500: '#1b8d2f',
    950: '#000000',
  },
}
SCSS
$custom: #1b8d2f;
$custom-light: #6daf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8d2f",
  "rgb": {
    "r": 27,
    "g": 141,
    "b": 47
  },
  "hsl": {
    "h": 130.526,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56325,
    "c": 0.16419,
    "h": 145.3
  },
  "luminance": 0.19488
}

Semantic roles & 50–950 ramp

primary
#1B8D2F
secondary
#BD46A8
accent
#3DCCEB
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081107
muted
#7B807A

Preview Lab

Preview with #1B8D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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