#1A7D22#1A7D22

#1A7D22 is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.6% C 0.155 H 143.9°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#1A7D22
RGBrgb(26, 125, 34)
HSLhsl(125, 66%, 30%)
HSVhsv(125, 79%, 49%)
CMYKcmyk(79.2%, 0%, 72.8%, 51%)
CIE-LABlab(45.64, -46.11, 39.87)
CIE-LCHlch(45.64, 60.96, 139.15°)
OKLaboklab(51.62% -0.1248 0.0911)
OKLCHoklch(51.62% 0.155 143.9)
XYZxyz(8.0478, 15.0014, 3.9845)
Luminance0.1500 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7D22 #7D1A75
analogous
#447D1A #1A7D22 #1A7D53
triadic
#1A7D22 #221A7D #7D221A
tetradic
#1A7D22 #1A447D #7D1A75 #7D531A
square
#1A7D22 #1A447D #7D1A75 #7D531A
split-complementary
#1A7D22 #531A7D #7D1A44
monochromatic
#051907 #0F4A14 #1A7D22 #25B030 #3BD648

Accessibility & contrast

On white

5.25
#1A7D22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#1A7D22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7D22
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7D22#FFFFFF#000000##FFFFFF
##1A7D221.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807114
Deuteranopia (green-blind)
#75692B
Tritanopia (blue-blind)
#00796B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1a7d22;
/* rgb */ color: rgb(26, 125, 34);
/* oklch */ color: oklch(51.6% 0.155 143.9);
Tailwind
colors: {
  custom: {
    50: '#69a463',
    500: '#1a7d22',
    950: '#000000',
  },
}
SCSS
$custom: #1a7d22;
$custom-light: #69a463;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7d22",
  "rgb": {
    "r": 26,
    "g": 125,
    "b": 34
  },
  "hsl": {
    "h": 124.848,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51619,
    "c": 0.15451,
    "h": 143.9
  },
  "luminance": 0.15002
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1A7D22

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

Preview Lab → · Contrast checker → · Palette generator →

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