#1A8F28#1A8F28

#1A8F28 is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.8% C 0.172 H 144.2°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#1A8F28
RGBrgb(26, 143, 40)
HSLhsl(127, 69%, 33%)
HSVhsv(127, 82%, 56%)
CMYKcmyk(81.8%, 0%, 72%, 43.9%)
CIE-LABlab(51.86, -51.58, 43.92)
CIE-LCHlch(51.86, 67.74, 139.58°)
OKLaboklab(56.8% -0.1394 0.1004)
OKLCHoklch(56.8% 0.172 144.2)
XYZxyz(10.6307, 20.0164, 5.3104)
Luminance0.2002 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A8F28 #8F1A81
analogous
#478F1A #1A8F28 #1A8F62
triadic
#1A8F28 #281A8F #8F281A
tetradic
#1A8F28 #1A478F #8F1A81 #8F621A
square
#1A8F28 #1A478F #8F1A81 #8F621A
split-complementary
#1A8F28 #621A8F #8F1A47
monochromatic
#07270B #115B1A #1A8F28 #23C336 #46DD58

Accessibility & contrast

On white

4.20
#1A8F28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#1A8F28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1A8F28
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A8F28#FFFFFF#000000##000000
##1A8F281.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#928118
Deuteranopia (green-blind)
#857832
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #1a8f28;
/* rgb */ color: rgb(26, 143, 40);
/* oklch */ color: oklch(56.8% 0.172 144.2);
Tailwind
colors: {
  custom: {
    50: '#6eb168',
    500: '#1a8f28',
    950: '#000000',
  },
}
SCSS
$custom: #1a8f28;
$custom-light: #6eb168;
$custom-dark: #000000;
JSON
{
  "hex": "#1a8f28",
  "rgb": {
    "r": 26,
    "g": 143,
    "b": 40
  },
  "hsl": {
    "h": 127.179,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56804,
    "c": 0.17174,
    "h": 144.2
  },
  "luminance": 0.20018
}

Semantic roles & 50–950 ramp

primary
#1A8F28
secondary
#BF46B0
accent
#3CD7EC
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081106
muted
#7B807A

Preview Lab

Preview with #1A8F28

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

Preview Lab → · Contrast checker → · Palette generator →

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