#1A8628#1A8628

#1A8628 is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.3% C 0.161 H 144.5°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#1A8628
RGBrgb(26, 134, 40)
HSLhsl(128, 68%, 31%)
HSVhsv(128, 81%, 53%)
CMYKcmyk(80.6%, 0%, 70.1%, 47.5%)
CIE-LABlab(48.79, -48.58, 40.67)
CIE-LCHlch(48.79, 63.36, 140.06°)
OKLaboklab(54.25% -0.1312 0.0935)
OKLCHoklch(54.25% 0.161 144.5)
XYZxyz(9.3335, 17.4219, 4.8779)
Luminance0.1742 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A8628 #861A78
analogous
#42861A #1A8628 #1A865E
triadic
#1A8628 #281A86 #86281A
tetradic
#1A8628 #1A4286 #861A78 #865E1A
square
#1A8628 #1A4286 #861A78 #865E1A
split-complementary
#1A8628 #5E1A86 #861A42
monochromatic
#061F09 #105319 #1A8628 #24B937 #40DA54

Accessibility & contrast

On white

4.68
#1A8628 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#1A8628 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A8628
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A8628#FFFFFF#000000##FFFFFF
##1A86281.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#88791B
Deuteranopia (green-blind)
#7D7131
Tritanopia (blue-blind)
#008273
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1a8628;
/* rgb */ color: rgb(26, 134, 40);
/* oklch */ color: oklch(54.3% 0.161 144.5);
Tailwind
colors: {
  custom: {
    50: '#6baa67',
    500: '#1a8628',
    950: '#000000',
  },
}
SCSS
$custom: #1a8628;
$custom-light: #6baa67;
$custom-dark: #000000;
JSON
{
  "hex": "#1a8628",
  "rgb": {
    "r": 26,
    "g": 134,
    "b": 40
  },
  "hsl": {
    "h": 127.778,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54253,
    "c": 0.16114,
    "h": 144.5
  },
  "luminance": 0.17423
}

Semantic roles & 50–950 ramp

primary
#1A8628
secondary
#B942AA
accent
#3DD4EA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #1A8628

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

Preview Lab → · Contrast checker → · Palette generator →

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