#1A7F22#1A7F22

#1A7F22 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.2% C 0.157 H 143.8°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#1A7F22
RGBrgb(26, 127, 34)
HSLhsl(125, 66%, 30%)
HSVhsv(125, 80%, 50%)
CMYKcmyk(79.5%, 0%, 73.2%, 50.2%)
CIE-LABlab(46.33, -46.80, 40.59)
CIE-LCHlch(46.33, 61.95, 139.06°)
OKLaboklab(52.2% -0.1267 0.0926)
OKLCHoklch(52.2% 0.157 143.8)
XYZxyz(8.3036, 15.5129, 4.0697)
Luminance0.1551 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7F22 #7F1A77
analogous
#457F1A #1A7F22 #1A7F54
triadic
#1A7F22 #221A7F #7F221A
tetradic
#1A7F22 #1A457F #7F1A77 #7F541A
square
#1A7F22 #1A457F #7F1A77 #7F541A
split-complementary
#1A7F22 #541A7F #7F1A45
monochromatic
#051907 #104C14 #1A7F22 #24B230 #3CD749

Accessibility & contrast

On white

5.12
#1A7F22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#1A7F22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7F22
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7F22#FFFFFF#000000##FFFFFF
##1A7F221.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827213
Deuteranopia (green-blind)
#766B2B
Tritanopia (blue-blind)
#007B6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1a7f22;
/* rgb */ color: rgb(26, 127, 34);
/* oklch */ color: oklch(52.2% 0.157 143.8);
Tailwind
colors: {
  custom: {
    50: '#6aa563',
    500: '#1a7f22',
    950: '#000000',
  },
}
SCSS
$custom: #1a7f22;
$custom-light: #6aa563;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7f22",
  "rgb": {
    "r": 26,
    "g": 127,
    "b": 34
  },
  "hsl": {
    "h": 124.752,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.52195,
    "c": 0.15691,
    "h": 143.8
  },
  "luminance": 0.15514
}

Semantic roles & 50–950 ramp

primary
#1A7F22
secondary
#B342AA
accent
#3FDBE9
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #1A7F22

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

Preview Lab → · Contrast checker → · Palette generator →

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