#1B8D45#1B8D45

#1B8D45 is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.6% C 0.145 H 150.2°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#1B8D45
RGBrgb(27, 141, 69)
HSLhsl(142, 68%, 33%)
HSVhsv(142, 81%, 55%)
CMYKcmyk(80.9%, 0%, 51.1%, 44.7%)
CIE-LABlab(51.51, -46.96, 29.76)
CIE-LCHlch(51.51, 55.59, 147.64°)
OKLaboklab(56.62% -0.1261 0.0723)
OKLCHoklch(56.62% 0.145 150.2)
XYZxyz(11.0501, 19.7111, 8.8513)
Luminance0.1971 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8D45 #8D1B63
analogous
#2A8D1B #1B8D45 #1B8D7E
triadic
#1B8D45 #451B8D #8D451B
tetradic
#1B8D45 #1B2A8D #8D1B63 #8D7E1B
square
#1B8D45 #1B2A8D #8D1B63 #8D7E1B
split-complementary
#1B8D45 #7E1B8D #8D1B2A
monochromatic
#072613 #115A2C #1B8D45 #25C05E #47DC7E

Accessibility & contrast

On white

4.25
#1B8D45 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#1B8D45 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1B8D45
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B8D45#FFFFFF#000000##000000
##1B8D451.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E803F
Deuteranopia (green-blind)
#81774A
Tritanopia (blue-blind)
#008A7C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #1b8d45;
/* rgb */ color: rgb(27, 141, 69);
/* oklch */ color: oklch(56.6% 0.145 150.2);
Tailwind
colors: {
  custom: {
    50: '#6caf7a',
    500: '#1b8d45',
    950: '#000000',
  },
}
SCSS
$custom: #1b8d45;
$custom-light: #6caf7a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8d45",
  "rgb": {
    "r": 27,
    "g": 141,
    "b": 69
  },
  "hsl": {
    "h": 142.105,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56622,
    "c": 0.14532,
    "h": 150.2
  },
  "luminance": 0.19712
}

Semantic roles & 50–950 ramp

primary
#1B8D45
secondary
#BD4692
accent
#3DABEB
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #1B8D45

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

Preview Lab → · Contrast checker → · Palette generator →

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