#1A7322#1A7322

#1A7322 is a mid, vivid green. Relative luminance 0.126; OKLCH L 48.7% C 0.142 H 144.1°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#1A7322
RGBrgb(26, 115, 34)
HSLhsl(125, 63%, 28%)
HSVhsv(125, 77%, 45%)
CMYKcmyk(77.4%, 0%, 70.4%, 54.9%)
CIE-LABlab(42.15, -42.61, 36.16)
CIE-LCHlch(42.15, 55.89, 139.68°)
OKLaboklab(48.72% -0.1153 0.0833)
OKLCHoklch(48.72% 0.142 144.1)
XYZxyz(6.8450, 12.5958, 3.5835)
Luminance0.1260 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7322 #731A6B
analogous
#3F731A #1A7322 #1A734E
triadic
#1A7322 #221A73 #73221A
tetradic
#1A7322 #1A3F73 #731A6B #734E1A
square
#1A7322 #1A3F73 #731A6B #734E1A
split-complementary
#1A7322 #4E1A73 #731A3F
monochromatic
#061907 #0F4113 #1A7322 #25A531 #36D244

Accessibility & contrast

On white

5.97
#1A7322 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#1A7322 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7322
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7322#FFFFFF#000000##FFFFFF
##1A73221.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756817
Deuteranopia (green-blind)
#6B612A
Tritanopia (blue-blind)
#007062
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #1a7322;
/* rgb */ color: rgb(26, 115, 34);
/* oklch */ color: oklch(48.7% 0.142 144.1);
Tailwind
colors: {
  custom: {
    50: '#679c61',
    500: '#1a7322',
    950: '#000000',
  },
}
SCSS
$custom: #1a7322;
$custom-light: #679c61;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7322",
  "rgb": {
    "r": 26,
    "g": 115,
    "b": 34
  },
  "hsl": {
    "h": 125.393,
    "s": 63.121,
    "l": 27.647
  },
  "oklch": {
    "l": 0.48722,
    "c": 0.14223,
    "h": 144.1
  },
  "luminance": 0.12597
}

Semantic roles & 50–950 ramp

primary
#1A7322
secondary
#A8419F
accent
#42D7E6
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #1A7322

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

Preview Lab → · Contrast checker → · Palette generator →

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