#1A8222#1A8222

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

Color values

HEX#1A8222
RGBrgb(26, 130, 34)
HSLhsl(125, 67%, 31%)
HSVhsv(125, 80%, 51%)
CMYKcmyk(80%, 0%, 73.8%, 49%)
CIE-LABlab(47.36, -47.82, 41.67)
CIE-LCHlch(47.36, 63.42, 138.93°)
OKLaboklab(53.06% -0.1294 0.0949)
OKLCHoklch(53.06% 0.16 143.8)
XYZxyz(8.6968, 16.2993, 4.2008)
Luminance0.1630 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A8222 #821A7A
analogous
#46821A #1A8222 #1A8256
triadic
#1A8222 #221A82 #82221A
tetradic
#1A8222 #1A4682 #821A7A #82561A
square
#1A8222 #1A4682 #821A7A #82561A
split-complementary
#1A8222 #561A82 #821A46
monochromatic
#061C07 #104F15 #1A8222 #24B52F #3ED84A

Accessibility & contrast

On white

4.93
#1A8222 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1A8222
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A8222#FFFFFF#000000##FFFFFF
##1A82221.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a8222;
/* rgb */ color: rgb(26, 130, 34);
/* oklch */ color: oklch(53.1% 0.160 143.8);
Tailwind
colors: {
  custom: {
    50: '#6ba763',
    500: '#1a8222',
    950: '#000000',
  },
}
SCSS
$custom: #1a8222;
$custom-light: #6ba763;
$custom-dark: #000000;
JSON
{
  "hex": "#1a8222",
  "rgb": {
    "r": 26,
    "g": 130,
    "b": 34
  },
  "hsl": {
    "h": 124.615,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53056,
    "c": 0.16047,
    "h": 143.8
  },
  "luminance": 0.163
}

Semantic roles & 50–950 ramp

primary
#1A8222
secondary
#B642AD
accent
#3EDCEA
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081006
muted
#7A7F7A

Preview Lab

Preview with #1A8222

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

Preview Lab → · Contrast checker → · Palette generator →

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