#1B8D31#1B8D31

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

Color values

HEX#1B8D31
RGBrgb(27, 141, 49)
HSLhsl(132, 68%, 33%)
HSVhsv(132, 81%, 55%)
CMYKcmyk(80.9%, 0%, 65.2%, 44.7%)
CIE-LABlab(51.27, -49.82, 39.40)
CIE-LCHlch(51.27, 63.51, 141.66°)
OKLaboklab(56.35% -0.1342 0.0919)
OKLCHoklch(56.35% 0.163 145.6)
XYZxyz(10.5305, 19.5032, 6.1146)
Luminance0.1951 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8D31 #8D1B77
analogous
#3E8D1B #1B8D31 #1B8D6A
triadic
#1B8D31 #311B8D #8D311B
tetradic
#1B8D31 #1B3E8D #8D1B77 #8D6A1B
square
#1B8D31 #1B3E8D #8D1B77 #8D6A1B
split-complementary
#1B8D31 #6A1B8D #8D1B3E
monochromatic
#07260D #115A1F #1B8D31 #25C043 #47DC63

Accessibility & contrast

On white

4.28
#1B8D31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B8D31#FFFFFF#000000##000000
##1B8D311.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F26
Deuteranopia (green-blind)
#837739
Tritanopia (blue-blind)
#00897A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #1b8d31;
/* rgb */ color: rgb(27, 141, 49);
/* oklch */ color: oklch(56.3% 0.163 145.6);
Tailwind
colors: {
  custom: {
    50: '#6daf6d',
    500: '#1b8d31',
    950: '#000000',
  },
}
SCSS
$custom: #1b8d31;
$custom-light: #6daf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8d31",
  "rgb": {
    "r": 27,
    "g": 141,
    "b": 49
  },
  "hsl": {
    "h": 131.579,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56347,
    "c": 0.16266,
    "h": 145.6
  },
  "luminance": 0.19505
}

Semantic roles & 50–950 ramp

primary
#1B8D31
secondary
#BD46A6
accent
#3DC9EB
background
#F7FAF6
surface
#EDF5EC
border
#C8CFC7
text
#081107
muted
#7B807A

Preview Lab

Preview with #1B8D31

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

Preview Lab → · Contrast checker → · Palette generator →

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