#1A8D28#1A8D28

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

Color values

HEX#1A8D28
RGBrgb(26, 141, 40)
HSLhsl(127, 69%, 33%)
HSVhsv(127, 82%, 55%)
CMYKcmyk(81.6%, 0%, 71.6%, 44.7%)
CIE-LABlab(51.18, -50.92, 43.21)
CIE-LCHlch(51.18, 66.78, 139.68°)
OKLaboklab(56.24% -0.1376 0.0989)
OKLCHoklch(56.24% 0.169 144.3)
XYZxyz(10.3332, 19.4213, 5.2112)
Luminance0.1942 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A8D28 #8D1A7F
analogous
#468D1A #1A8D28 #1A8D61
triadic
#1A8D28 #281A8D #8D281A
tetradic
#1A8D28 #1A468D #8D1A7F #8D611A
square
#1A8D28 #1A468D #8D1A7F #8D611A
split-complementary
#1A8D28 #611A8D #8D1A46
monochromatic
#07260B #105919 #1A8D28 #24C137 #45DD57

Accessibility & contrast

On white

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

On black

4.88
#1A8D28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1A8D28
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A8D28#FFFFFF#000000##000000
##1A8D281.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.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: #1a8d28;
/* rgb */ color: rgb(26, 141, 40);
/* oklch */ color: oklch(56.2% 0.169 144.3);
Tailwind
colors: {
  custom: {
    50: '#6daf68',
    500: '#1a8d28',
    950: '#000000',
  },
}
SCSS
$custom: #1a8d28;
$custom-light: #6daf68;
$custom-dark: #000000;
JSON
{
  "hex": "#1a8d28",
  "rgb": {
    "r": 26,
    "g": 141,
    "b": 40
  },
  "hsl": {
    "h": 127.304,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56239,
    "c": 0.16941,
    "h": 144.3
  },
  "luminance": 0.19423
}

Semantic roles & 50–950 ramp

primary
#1A8D28
secondary
#BE45AF
accent
#3CD6EC
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081106
muted
#7B807A

Preview Lab

Preview with #1A8D28

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

Preview Lab → · Contrast checker → · Palette generator →

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