#1B8A34#1B8A34

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

Color values

HEX#1B8A34
RGBrgb(27, 138, 52)
HSLhsl(134, 67%, 32%)
HSVhsv(134, 80%, 54%)
CMYKcmyk(80.4%, 0%, 62.3%, 45.9%)
CIE-LABlab(50.28, -48.41, 36.87)
CIE-LCHlch(50.28, 60.85, 142.71°)
OKLaboklab(55.54% -0.1303 0.0867)
OKLCHoklch(55.54% 0.157 146.4)
XYZxyz(10.1595, 18.6567, 6.3138)
Luminance0.1866 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8A34 #8A1B71
analogous
#398A1B #1B8A34 #1B8A6C
triadic
#1B8A34 #341B8A #8A341B
tetradic
#1B8A34 #1B398A #8A1B71 #8A6C1B
square
#1B8A34 #1B398A #8A1B71 #8A6C1B
split-complementary
#1B8A34 #6C1B8A #8A1B39
monochromatic
#07240D #115721 #1B8A34 #25BD47 #45DB67

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B8A34#FFFFFF#000000##000000
##1B8A341.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)
#8C7D2B
Deuteranopia (green-blind)
#80743B
Tritanopia (blue-blind)
#008778
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #1b8a34;
/* rgb */ color: rgb(27, 138, 52);
/* oklch */ color: oklch(55.5% 0.157 146.4);
Tailwind
colors: {
  custom: {
    50: '#6cad6f',
    500: '#1b8a34',
    950: '#000000',
  },
}
SCSS
$custom: #1b8a34;
$custom-light: #6cad6f;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8a34",
  "rgb": {
    "r": 27,
    "g": 138,
    "b": 52
  },
  "hsl": {
    "h": 133.514,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.55537,
    "c": 0.15655,
    "h": 146.4
  },
  "luminance": 0.18658
}

Semantic roles & 50–950 ramp

primary
#1B8A34
secondary
#BC45A1
accent
#3EC3EA
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #1B8A34

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

Preview Lab → · Contrast checker → · Palette generator →

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