#1A8028#1A8028

#1A8028 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.5% C 0.154 H 144.7°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#1A8028
RGBrgb(26, 128, 40)
HSLhsl(128, 66%, 30%)
HSVhsv(128, 80%, 50%)
CMYKcmyk(79.7%, 0%, 68.8%, 49.8%)
CIE-LABlab(46.72, -46.53, 38.44)
CIE-LCHlch(46.72, 60.35, 140.44°)
OKLaboklab(52.54% -0.1256 0.0889)
OKLCHoklch(52.54% 0.154 144.7)
XYZxyz(8.5276, 15.8101, 4.6093)
Luminance0.1581 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A8028 #801A72
analogous
#3F801A #1A8028 #1A805B
triadic
#1A8028 #281A80 #80281A
tetradic
#1A8028 #1A3F80 #801A72 #805B1A
square
#1A8028 #1A3F80 #801A72 #805B1A
split-complementary
#1A8028 #5B1A80 #801A3F
monochromatic
#051A08 #104D18 #1A8028 #24B338 #3DD852

Accessibility & contrast

On white

5.05
#1A8028 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#1A8028 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A8028
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A8028#FFFFFF#000000##FFFFFF
##1A80281.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82731C
Deuteranopia (green-blind)
#776C30
Tritanopia (blue-blind)
#007C6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #1a8028;
/* rgb */ color: rgb(26, 128, 40);
/* oklch */ color: oklch(52.5% 0.154 144.7);
Tailwind
colors: {
  custom: {
    50: '#6aa666',
    500: '#1a8028',
    950: '#000000',
  },
}
SCSS
$custom: #1a8028;
$custom-light: #6aa666;
$custom-dark: #000000;
JSON
{
  "hex": "#1a8028",
  "rgb": {
    "r": 26,
    "g": 128,
    "b": 40
  },
  "hsl": {
    "h": 128.235,
    "s": 66.234,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52539,
    "c": 0.15387,
    "h": 144.7
  },
  "luminance": 0.15811
}

Semantic roles & 50–950 ramp

primary
#1A8028
secondary
#B442A4
accent
#3FD2E9
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1A8028

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

Preview Lab → · Contrast checker → · Palette generator →

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