#1B8D28#1B8D28

#1B8D28 is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.3% C 0.169 H 144.2°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#1B8D28
RGBrgb(27, 141, 40)
HSLhsl(127, 68%, 33%)
HSVhsv(127, 81%, 55%)
CMYKcmyk(80.9%, 0%, 71.6%, 44.7%)
CIE-LABlab(51.19, -50.78, 43.23)
CIE-LCHlch(51.19, 66.69, 139.60°)
OKLaboklab(56.26% -0.1372 0.0989)
OKLCHoklch(56.26% 0.169 144.2)
XYZxyz(10.3592, 19.4347, 5.2124)
Luminance0.1944 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8D28 #8D1B80
analogous
#478D1B #1B8D28 #1B8D61
triadic
#1B8D28 #281B8D #8D281B
tetradic
#1B8D28 #1B478D #8D1B80 #8D611B
square
#1B8D28 #1B478D #8D1B80 #8D611B
split-complementary
#1B8D28 #611B8D #8D1B47
monochromatic
#07260B #115A19 #1B8D28 #25C037 #47DC58

Accessibility & contrast

On white

4.30
#1B8D28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#1B8D28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1B8D28
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B8D28#FFFFFF#000000##000000
##1B8D281.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F19
Deuteranopia (green-blind)
#837732
Tritanopia (blue-blind)
#008979
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #1b8d28;
/* rgb */ color: rgb(27, 141, 40);
/* oklch */ color: oklch(56.3% 0.169 144.2);
Tailwind
colors: {
  custom: {
    50: '#6daf68',
    500: '#1b8d28',
    950: '#000000',
  },
}
SCSS
$custom: #1b8d28;
$custom-light: #6daf68;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8d28",
  "rgb": {
    "r": 27,
    "g": 141,
    "b": 40
  },
  "hsl": {
    "h": 126.842,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56256,
    "c": 0.16918,
    "h": 144.2
  },
  "luminance": 0.19436
}

Semantic roles & 50–950 ramp

primary
#1B8D28
secondary
#BD46B0
accent
#3DD7EB
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081106
muted
#7B807A

Preview Lab

Preview with #1B8D28

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

Preview Lab → · Contrast checker → · Palette generator →

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