#1B8A31#1B8A31

#1B8A31 is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.5% C 0.159 H 145.8°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#1B8A31
RGBrgb(27, 138, 49)
HSLhsl(132, 67%, 32%)
HSVhsv(132, 80%, 54%)
CMYKcmyk(80.4%, 0%, 64.5%, 45.9%)
CIE-LABlab(50.25, -48.79, 38.25)
CIE-LCHlch(50.25, 62.00, 141.90°)
OKLaboklab(55.5% -0.1314 0.0894)
OKLCHoklch(55.5% 0.159 145.8)
XYZxyz(10.0941, 18.6305, 5.9692)
Luminance0.1863 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8A31 #8A1B74
analogous
#3C8A1B #1B8A31 #1B8A69
triadic
#1B8A31 #311B8A #8A311B
tetradic
#1B8A31 #1B3C8A #8A1B74 #8A691B
square
#1B8A31 #1B3C8A #8A1B74 #8A691B
split-complementary
#1B8A31 #691B8A #8A1B3C
monochromatic
#07240D #11571F #1B8A31 #25BD43 #45DB63

Accessibility & contrast

On white

4.44
#1B8A31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#1B8A31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1B8A31
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B8A31#FFFFFF#000000##000000
##1B8A311.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7D27
Deuteranopia (green-blind)
#807439
Tritanopia (blue-blind)
#008677
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #1b8a31;
/* rgb */ color: rgb(27, 138, 49);
/* oklch */ color: oklch(55.5% 0.159 145.8);
Tailwind
colors: {
  custom: {
    50: '#6cad6d',
    500: '#1b8a31',
    950: '#000000',
  },
}
SCSS
$custom: #1b8a31;
$custom-light: #6cad6d;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8a31",
  "rgb": {
    "r": 27,
    "g": 138,
    "b": 49
  },
  "hsl": {
    "h": 131.892,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.55501,
    "c": 0.15898,
    "h": 145.8
  },
  "luminance": 0.18632
}

Semantic roles & 50–950 ramp

primary
#1B8A31
secondary
#BC45A4
accent
#3EC8EA
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #1B8A31

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

Preview Lab → · Contrast checker → · Palette generator →

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