#1A9822#1A9822

#1A9822 is a mid, vivid green. Relative luminance 0.228; OKLCH L 59.3% C 0.185 H 143.4°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#1A9822
RGBrgb(26, 152, 34)
HSLhsl(124, 71%, 35%)
HSVhsv(124, 83%, 60%)
CMYKcmyk(82.9%, 0%, 77.6%, 40.4%)
CIE-LABlab(54.86, -54.98, 49.22)
CIE-LCHlch(54.86, 73.79, 138.16°)
OKLaboklab(59.29% -0.1489 0.1106)
OKLCHoklch(59.29% 0.186 143.4)
XYZxyz(11.9422, 22.7901, 5.2826)
Luminance0.2279 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A9822 #981A90
analogous
#51981A #1A9822 #1A9861
triadic
#1A9822 #221A98 #98221A
tetradic
#1A9822 #1A5198 #981A90 #98611A
square
#1A9822 #1A5198 #981A90 #98611A
split-complementary
#1A9822 #611A98 #981A51
monochromatic
#082F0B #116416 #1A9822 #23CC2E #4CE055

Accessibility & contrast

On white

3.78
#1A9822 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#1A9822 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1A9822
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A9822#FFFFFF#000000##000000
##1A98221.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8906
Deuteranopia (green-blind)
#8E802F
Tritanopia (blue-blind)
#009382
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #1a9822;
/* rgb */ color: rgb(26, 152, 34);
/* oklch */ color: oklch(59.3% 0.185 143.4);
Tailwind
colors: {
  custom: {
    50: '#70b866',
    500: '#1a9822',
    950: '#000000',
  },
}
SCSS
$custom: #1a9822;
$custom-light: #70b866;
$custom-dark: #000000;
JSON
{
  "hex": "#1a9822",
  "rgb": {
    "r": 26,
    "g": 152,
    "b": 34
  },
  "hsl": {
    "h": 123.81,
    "s": 70.787,
    "l": 34.902
  },
  "oklch": {
    "l": 0.59286,
    "c": 0.1855,
    "h": 143.4
  },
  "luminance": 0.22792
}

Semantic roles & 50–950 ramp

primary
#1A9822
secondary
#C24BBB
accent
#3AE2EE
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #1A9822

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

Preview Lab → · Contrast checker → · Palette generator →

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