#1A7220#1A7220

#1A7220 is a mid, vivid green. Relative luminance 0.124; OKLCH L 48.4% C 0.142 H 143.8°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#1A7220
RGBrgb(26, 114, 32)
HSLhsl(124, 63%, 27%)
HSVhsv(124, 77%, 45%)
CMYKcmyk(77.2%, 0%, 71.9%, 55.3%)
CIE-LABlab(41.78, -42.47, 36.65)
CIE-LCHlch(41.78, 56.09, 139.20°)
OKLaboklab(48.41% -0.115 0.0841)
OKLCHoklch(48.41% 0.142 143.8)
XYZxyz(6.7036, 12.3578, 3.3982)
Luminance0.1236 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7220 #721A6C
analogous
#40721A #1A7220 #1A724C
triadic
#1A7220 #201A72 #72201A
tetradic
#1A7220 #1A4072 #721A6C #724C1A
square
#1A7220 #1A4072 #721A6C #724C1A
split-complementary
#1A7220 #4C1A72 #721A40
monochromatic
#061907 #0F4012 #1A7220 #25A42E #35D140

Accessibility & contrast

On white

6.05
#1A7220 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#1A7220 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7220
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7220#FFFFFF#000000##FFFFFF
##1A72201.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746714
Deuteranopia (green-blind)
#6A6028
Tritanopia (blue-blind)
#006F61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #1a7220;
/* rgb */ color: rgb(26, 114, 32);
/* oklch */ color: oklch(48.4% 0.142 143.8);
Tailwind
colors: {
  custom: {
    50: '#669b60',
    500: '#1a7220',
    950: '#000000',
  },
}
SCSS
$custom: #1a7220;
$custom-light: #669b60;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7220",
  "rgb": {
    "r": 26,
    "g": 114,
    "b": 32
  },
  "hsl": {
    "h": 124.091,
    "s": 62.857,
    "l": 27.451
  },
  "oklch": {
    "l": 0.48411,
    "c": 0.14245,
    "h": 143.8
  },
  "luminance": 0.12359
}

Semantic roles & 50–950 ramp

primary
#1A7220
secondary
#A741A0
accent
#42DBE6
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #1A7220

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

Preview Lab → · Contrast checker → · Palette generator →

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