#1B8D51#1B8D51

#1B8D51 is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.8% C 0.134 H 154.1°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#1B8D51
RGBrgb(27, 141, 81)
HSLhsl(148, 68%, 33%)
HSVhsv(148, 81%, 55%)
CMYKcmyk(80.9%, 0%, 42.6%, 44.7%)
CIE-LABlab(51.70, -44.77, 23.53)
CIE-LCHlch(51.70, 50.58, 152.28°)
OKLaboklab(56.84% -0.1205 0.0584)
OKLCHoklch(56.84% 0.134 154.1)
XYZxyz(11.4610, 19.8754, 11.0153)
Luminance0.1988 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8D51 #8D1B57
analogous
#1E8D1B #1B8D51 #1B8D8A
triadic
#1B8D51 #511B8D #8D511B
tetradic
#1B8D51 #1B1E8D #8D1B57 #8D8A1B
square
#1B8D51 #1B1E8D #8D1B57 #8D8A1B
split-complementary
#1B8D51 #8A1B8D #8D1B1E
monochromatic
#072616 #115A33 #1B8D51 #25C06F #47DC8D

Accessibility & contrast

On white

4.22
#1B8D51 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#1B8D51 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1B8D51
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B8D51#FFFFFF#000000##000000
##1B8D511.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D814D
Deuteranopia (green-blind)
#807755
Tritanopia (blue-blind)
#008B7E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #1b8d51;
/* rgb */ color: rgb(27, 141, 81);
/* oklch */ color: oklch(56.8% 0.134 154.1);
Tailwind
colors: {
  custom: {
    50: '#6caf82',
    500: '#1b8d51',
    950: '#000000',
  },
}
SCSS
$custom: #1b8d51;
$custom-light: #6caf82;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8d51",
  "rgb": {
    "r": 27,
    "g": 141,
    "b": 81
  },
  "hsl": {
    "h": 148.421,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56838,
    "c": 0.13389,
    "h": 154.1
  },
  "luminance": 0.19877
}

Semantic roles & 50–950 ramp

primary
#1B8D51
secondary
#BD4685
accent
#3D98EB
background
#F7FAF8
surface
#EDF5EF
border
#C8CFCA
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #1B8D51

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

Preview Lab → · Contrast checker → · Palette generator →

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