#1A8E42#1A8E42

#1A8E42 is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.8% C 0.150 H 149.3°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#1A8E42
RGBrgb(26, 142, 66)
HSLhsl(141, 69%, 33%)
HSVhsv(141, 82%, 56%)
CMYKcmyk(81.7%, 0%, 53.5%, 44.3%)
CIE-LABlab(51.79, -47.93, 31.67)
CIE-LCHlch(51.79, 57.45, 146.55°)
OKLaboklab(56.84% -0.1287 0.0764)
OKLCHoklch(56.84% 0.15 149.3)
XYZxyz(11.0814, 19.9576, 8.4214)
Luminance0.1996 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A8E42 #8E1A66
analogous
#2C8E1A #1A8E42 #1A8E7C
triadic
#1A8E42 #421A8E #8E421A
tetradic
#1A8E42 #1A2C8E #8E1A66 #8E7C1A
square
#1A8E42 #1A2C8E #8E1A66 #8E7C1A
split-complementary
#1A8E42 #7C1A8E #8E1A2C
monochromatic
#072712 #115A2A #1A8E42 #23C25A #45DD7A

Accessibility & contrast

On white

4.21
#1A8E42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#1A8E42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1A8E42
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A8E42#FFFFFF#000000##000000
##1A8E421.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F813B
Deuteranopia (green-blind)
#827848
Tritanopia (blue-blind)
#008B7D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #1a8e42;
/* rgb */ color: rgb(26, 142, 66);
/* oklch */ color: oklch(56.8% 0.150 149.3);
Tailwind
colors: {
  custom: {
    50: '#6cb078',
    500: '#1a8e42',
    950: '#000000',
  },
}
SCSS
$custom: #1a8e42;
$custom-light: #6cb078;
$custom-dark: #000000;
JSON
{
  "hex": "#1a8e42",
  "rgb": {
    "r": 26,
    "g": 142,
    "b": 66
  },
  "hsl": {
    "h": 140.69,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56836,
    "c": 0.14965,
    "h": 149.3
  },
  "luminance": 0.19959
}

Semantic roles & 50–950 ramp

primary
#1A8E42
secondary
#BE4595
accent
#3CAFEC
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#081109
muted
#7B807B

Preview Lab

Preview with #1A8E42

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

Preview Lab → · Contrast checker → · Palette generator →

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