#1A8828#1A8828

#1A8828 is a mid, vivid green. Relative luminance 0.180; OKLCH L 54.8% C 0.164 H 144.4°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#1A8828
RGBrgb(26, 136, 40)
HSLhsl(128, 68%, 32%)
HSVhsv(128, 81%, 53%)
CMYKcmyk(80.9%, 0%, 70.6%, 46.7%)
CIE-LABlab(49.47, -49.25, 41.40)
CIE-LCHlch(49.47, 64.34, 139.95°)
OKLaboklab(54.82% -0.133 0.0951)
OKLCHoklch(54.82% 0.164 144.4)
XYZxyz(9.6125, 17.9800, 4.9709)
Luminance0.1798 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A8828 #881A7A
analogous
#43881A #1A8828 #1A885F
triadic
#1A8828 #281A88 #88281A
tetradic
#1A8828 #1A4388 #881A7A #885F1A
square
#1A8828 #1A4388 #881A7A #885F1A
split-complementary
#1A8828 #5F1A88 #881A43
monochromatic
#06210A #105519 #1A8828 #24BB37 #42DB55

Accessibility & contrast

On white

4.57
#1A8828 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#1A8828 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1A8828
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A8828#FFFFFF#000000##000000
##1A88281.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B1A
Deuteranopia (green-blind)
#7F7231
Tritanopia (blue-blind)
#008475
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #1a8828;
/* rgb */ color: rgb(26, 136, 40);
/* oklch */ color: oklch(54.8% 0.164 144.4);
Tailwind
colors: {
  custom: {
    50: '#6cac67',
    500: '#1a8828',
    950: '#000000',
  },
}
SCSS
$custom: #1a8828;
$custom-light: #6cac67;
$custom-dark: #000000;
JSON
{
  "hex": "#1a8828",
  "rgb": {
    "r": 26,
    "g": 136,
    "b": 40
  },
  "hsl": {
    "h": 127.636,
    "s": 67.901,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54822,
    "c": 0.16352,
    "h": 144.4
  },
  "luminance": 0.17981
}

Semantic roles & 50–950 ramp

primary
#1A8828
secondary
#BB43AC
accent
#3DD5EB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #1A8828

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

Preview Lab → · Contrast checker → · Palette generator →

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