#1A8720#1A8720

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

Color values

HEX#1A8720
RGBrgb(26, 135, 32)
HSLhsl(123, 68%, 32%)
HSVhsv(123, 81%, 53%)
CMYKcmyk(80.7%, 0%, 76.3%, 47.1%)
CIE-LABlab(49.07, -49.66, 44.18)
CIE-LCHlch(49.07, 66.47, 138.34°)
OKLaboklab(54.47% -0.1345 0.0999)
OKLCHoklch(54.47% 0.168 143.4)
XYZxyz(9.3501, 17.6507, 4.2804)
Luminance0.1765 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A8720 #871A81
analogous
#4B871A #1A8720 #1A8757
triadic
#1A8720 #201A87 #87201A
tetradic
#1A8720 #1A4B87 #871A81 #87571A
square
#1A8720 #1A4B87 #871A81 #87571A
split-complementary
#1A8720 #571A87 #871A4B
monochromatic
#062008 #105414 #1A8720 #24BA2C #41DA49

Accessibility & contrast

On white

4.64
#1A8720 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1A8720
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A8720#FFFFFF#000000##FFFFFF
##1A87201.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a8720;
/* rgb */ color: rgb(26, 135, 32);
/* oklch */ color: oklch(54.5% 0.168 143.4);
Tailwind
colors: {
  custom: {
    50: '#6cab63',
    500: '#1a8720',
    950: '#000000',
  },
}
SCSS
$custom: #1a8720;
$custom-light: #6cab63;
$custom-dark: #000000;
JSON
{
  "hex": "#1a8720",
  "rgb": {
    "r": 26,
    "g": 135,
    "b": 32
  },
  "hsl": {
    "h": 123.303,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54468,
    "c": 0.16753,
    "h": 143.4
  },
  "luminance": 0.17652
}

Semantic roles & 50–950 ramp

primary
#1A8720
secondary
#BA42B4
accent
#3DE1EB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #1A8720

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

Preview Lab → · Contrast checker → · Palette generator →

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