#1A8722#1A8722

#1A8722 is a mid, vivid green. Relative luminance 0.177; OKLCH L 54.5% C 0.166 H 143.7°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#1A8722
RGBrgb(26, 135, 34)
HSLhsl(124, 68%, 32%)
HSVhsv(124, 81%, 53%)
CMYKcmyk(80.7%, 0%, 74.8%, 47.1%)
CIE-LABlab(49.08, -49.49, 43.44)
CIE-LCHlch(49.08, 65.85, 138.73°)
OKLaboklab(54.48% -0.134 0.0986)
OKLCHoklch(54.48% 0.166 143.7)
XYZxyz(9.3781, 17.6619, 4.4279)
Luminance0.1766 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A8722 #871A7F
analogous
#49871A #1A8722 #1A8759
triadic
#1A8722 #221A87 #87221A
tetradic
#1A8722 #1A4987 #871A7F #87591A
square
#1A8722 #1A4987 #871A7F #87591A
split-complementary
#1A8722 #591A87 #871A49
monochromatic
#062008 #105415 #1A8722 #24BA2F #41DA4C

Accessibility & contrast

On white

4.63
#1A8722 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#1A8722 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #1A8722
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A8722#FFFFFF#000000##FFFFFF
##1A87221.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A10
Deuteranopia (green-blind)
#7E712D
Tritanopia (blue-blind)
#008373
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #1a8722;
/* rgb */ color: rgb(26, 135, 34);
/* oklch */ color: oklch(54.5% 0.166 143.7);
Tailwind
colors: {
  custom: {
    50: '#6cab64',
    500: '#1a8722',
    950: '#000000',
  },
}
SCSS
$custom: #1a8722;
$custom-light: #6cab64;
$custom-dark: #000000;
JSON
{
  "hex": "#1a8722",
  "rgb": {
    "r": 26,
    "g": 135,
    "b": 34
  },
  "hsl": {
    "h": 124.404,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54484,
    "c": 0.16632,
    "h": 143.7
  },
  "luminance": 0.17663
}

Semantic roles & 50–950 ramp

primary
#1A8722
secondary
#BA42B2
accent
#3DDEEB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #1A8722

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

Preview Lab → · Contrast checker → · Palette generator →

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