#1A8226#1A8226

#1A8226 is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.1% C 0.158 H 144.3°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#1A8226
RGBrgb(26, 130, 38)
HSLhsl(127, 67%, 31%)
HSVhsv(127, 80%, 51%)
CMYKcmyk(80%, 0%, 70.8%, 49%)
CIE-LABlab(47.40, -47.43, 40.04)
CIE-LCHlch(47.40, 62.07, 139.83°)
OKLaboklab(53.09% -0.1282 0.092)
OKLCHoklch(53.09% 0.158 144.3)
XYZxyz(8.7579, 16.3238, 4.5226)
Luminance0.1633 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A8226 #821A76
analogous
#42821A #1A8226 #1A825A
triadic
#1A8226 #261A82 #82261A
tetradic
#1A8226 #1A4282 #821A76 #825A1A
square
#1A8226 #1A4282 #821A76 #825A1A
split-complementary
#1A8226 #5A1A82 #821A42
monochromatic
#061C08 #104F17 #1A8226 #24B535 #3ED850

Accessibility & contrast

On white

4.92
#1A8226 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#1A8226 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A8226
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A8226#FFFFFF#000000##FFFFFF
##1A82261.004.924.264.92
#FFFFFF4.921.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847519
Deuteranopia (green-blind)
#796D2F
Tritanopia (blue-blind)
#007E6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #1a8226;
/* rgb */ color: rgb(26, 130, 38);
/* oklch */ color: oklch(53.1% 0.158 144.3);
Tailwind
colors: {
  custom: {
    50: '#6aa765',
    500: '#1a8226',
    950: '#000000',
  },
}
SCSS
$custom: #1a8226;
$custom-light: #6aa765;
$custom-dark: #000000;
JSON
{
  "hex": "#1a8226",
  "rgb": {
    "r": 26,
    "g": 130,
    "b": 38
  },
  "hsl": {
    "h": 126.923,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53092,
    "c": 0.15775,
    "h": 144.3
  },
  "luminance": 0.16325
}

Semantic roles & 50–950 ramp

primary
#1A8226
secondary
#B642A8
accent
#3ED6EA
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081006
muted
#7A7F7A

Preview Lab

Preview with #1A8226

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

Preview Lab → · Contrast checker → · Palette generator →

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