#1A8221#1A8221

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

Color values

HEX#1A8221
RGBrgb(26, 130, 33)
HSLhsl(124, 67%, 31%)
HSVhsv(124, 80%, 51%)
CMYKcmyk(80%, 0%, 74.6%, 49%)
CIE-LABlab(47.36, -47.91, 42.06)
CIE-LCHlch(47.36, 63.75, 138.72°)
OKLaboklab(53.05% -0.1297 0.0956)
OKLCHoklch(53.05% 0.161 143.6)
XYZxyz(8.6826, 16.2937, 4.1259)
Luminance0.1630 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A8221 #821A7B
analogous
#47821A #1A8221 #1A8255
triadic
#1A8221 #211A82 #82211A
tetradic
#1A8221 #1A4782 #821A7B #82551A
square
#1A8221 #1A4782 #821A7B #82551A
split-complementary
#1A8221 #551A82 #821A47
monochromatic
#061C07 #104F14 #1A8221 #24B52E #3ED848

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1A8221#FFFFFF#000000##FFFFFF
##1A82211.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)
#857510
Deuteranopia (green-blind)
#796D2B
Tritanopia (blue-blind)
#007E6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #1a8221;
/* rgb */ color: rgb(26, 130, 33);
/* oklch */ color: oklch(53.0% 0.161 143.6);
Tailwind
colors: {
  custom: {
    50: '#6ba763',
    500: '#1a8221',
    950: '#000000',
  },
}
SCSS
$custom: #1a8221;
$custom-light: #6ba763;
$custom-dark: #000000;
JSON
{
  "hex": "#1a8221",
  "rgb": {
    "r": 26,
    "g": 130,
    "b": 33
  },
  "hsl": {
    "h": 124.038,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53047,
    "c": 0.16111,
    "h": 143.6
  },
  "luminance": 0.16295
}

Semantic roles & 50–950 ramp

primary
#1A8221
secondary
#B642AE
accent
#3EDEEA
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081005
muted
#7A7F7A

Preview Lab

Preview with #1A8221

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

Preview Lab → · Contrast checker → · Palette generator →

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