#1B8A52#1B8A52

#1B8A52 is a mid, vivid green. Relative luminance 0.190; OKLCH L 56.0% C 0.129 H 155.2°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#1B8A52
RGBrgb(27, 138, 82)
HSLhsl(150, 67%, 32%)
HSVhsv(150, 80%, 54%)
CMYKcmyk(80.4%, 0%, 40.6%, 45.9%)
CIE-LABlab(50.71, -43.41, 21.67)
CIE-LCHlch(50.71, 48.52, 153.47°)
OKLaboklab(56.03% -0.117 0.054)
OKLCHoklch(56.03% 0.129 155.2)
XYZxyz(11.0624, 19.0178, 11.0688)
Luminance0.1902 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8A52 #8A1B53
analogous
#1B8A1B #1B8A52 #1B8A8A
triadic
#1B8A52 #521B8A #8A521B
tetradic
#1B8A52 #1B1B8A #8A1B53 #8A8A1B
square
#1B8A52 #1B1B8A #8A1B53 #8A8A1B
split-complementary
#1B8A52 #8A1B8A #8A1B1B
monochromatic
#072415 #115734 #1B8A52 #25BD70 #45DB8F

Accessibility & contrast

On white

4.37
#1B8A52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#1B8A52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1B8A52
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B8A52#FFFFFF#000000##000000
##1B8A521.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#897E4E
Deuteranopia (green-blind)
#7D7556
Tritanopia (blue-blind)
#00887C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #1b8a52;
/* rgb */ color: rgb(27, 138, 82);
/* oklch */ color: oklch(56.0% 0.129 155.2);
Tailwind
colors: {
  custom: {
    50: '#6bad83',
    500: '#1b8a52',
    950: '#000000',
  },
}
SCSS
$custom: #1b8a52;
$custom-light: #6bad83;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8a52",
  "rgb": {
    "r": 27,
    "g": 138,
    "b": 82
  },
  "hsl": {
    "h": 149.73,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56027,
    "c": 0.12886,
    "h": 155.2
  },
  "luminance": 0.19019
}

Semantic roles & 50–950 ramp

primary
#1B8A52
secondary
#BC4581
accent
#3E95EA
background
#F6FAF8
surface
#ECF4EF
border
#C7CECA
text
#08100A
muted
#7A7F7C

Preview Lab

Preview with #1B8A52

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

Preview Lab → · Contrast checker → · Palette generator →

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