#1A8B28#1A8B28

#1A8B28 is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.7% C 0.167 H 144.4°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#1A8B28
RGBrgb(26, 139, 40)
HSLhsl(127, 68%, 32%)
HSVhsv(127, 81%, 55%)
CMYKcmyk(81.3%, 0%, 71.2%, 45.5%)
CIE-LABlab(50.50, -50.26, 42.49)
CIE-LCHlch(50.50, 65.81, 139.79°)
OKLaboklab(55.67% -0.1358 0.0974)
OKLCHoklch(55.67% 0.167 144.4)
XYZxyz(10.0409, 18.8368, 5.1138)
Luminance0.1884 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A8B28 #8B1A7D
analogous
#448B1A #1A8B28 #1A8B61
triadic
#1A8B28 #281A8B #8B281A
tetradic
#1A8B28 #1A448B #8B1A7D #8B611A
square
#1A8B28 #1A448B #8B1A7D #8B611A
split-complementary
#1A8B28 #611A8B #8B1A44
monochromatic
#07240A #105719 #1A8B28 #24BF37 #43DC56

Accessibility & contrast

On white

4.40
#1A8B28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#1A8B28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1A8B28
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A8B28#FFFFFF#000000##000000
##1A8B281.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D19
Deuteranopia (green-blind)
#817532
Tritanopia (blue-blind)
#008777
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #1a8b28;
/* rgb */ color: rgb(26, 139, 40);
/* oklch */ color: oklch(55.7% 0.167 144.4);
Tailwind
colors: {
  custom: {
    50: '#6dae68',
    500: '#1a8b28',
    950: '#000000',
  },
}
SCSS
$custom: #1a8b28;
$custom-light: #6dae68;
$custom-dark: #000000;
JSON
{
  "hex": "#1a8b28",
  "rgb": {
    "r": 26,
    "g": 139,
    "b": 40
  },
  "hsl": {
    "h": 127.434,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.55673,
    "c": 0.16708,
    "h": 144.4
  },
  "luminance": 0.18838
}

Semantic roles & 50–950 ramp

primary
#1A8B28
secondary
#BD44AE
accent
#3CD6EB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #1A8B28

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

Preview Lab → · Contrast checker → · Palette generator →

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