#1A8240#1A8240

#1A8240 is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.4% C 0.136 H 150.3°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#1A8240
RGBrgb(26, 130, 64)
HSLhsl(142, 67%, 31%)
HSVhsv(142, 80%, 51%)
CMYKcmyk(80%, 0%, 50.8%, 49%)
CIE-LABlab(47.69, -43.86, 27.64)
CIE-LCHlch(47.69, 51.84, 147.78°)
OKLaboklab(53.43% -0.1178 0.0672)
OKLCHoklch(53.43% 0.136 150.3)
XYZxyz(9.3333, 16.5539, 7.5528)
Luminance0.1656 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A8240 #821A5C
analogous
#28821A #1A8240 #1A8274
triadic
#1A8240 #401A82 #82401A
tetradic
#1A8240 #1A2882 #821A5C #82741A
square
#1A8240 #1A2882 #821A5C #82741A
split-complementary
#1A8240 #741A82 #821A28
monochromatic
#061C0E #104F27 #1A8240 #24B559 #3ED876

Accessibility & contrast

On white

4.87
#1A8240 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#1A8240 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A8240
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A8240#FFFFFF#000000##FFFFFF
##1A82401.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83763B
Deuteranopia (green-blind)
#776E45
Tritanopia (blue-blind)
#008073
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #1a8240;
/* rgb */ color: rgb(26, 130, 64);
/* oklch */ color: oklch(53.4% 0.136 150.3);
Tailwind
colors: {
  custom: {
    50: '#69a776',
    500: '#1a8240',
    950: '#000000',
  },
}
SCSS
$custom: #1a8240;
$custom-light: #69a776;
$custom-dark: #000000;
JSON
{
  "hex": "#1a8240",
  "rgb": {
    "r": 26,
    "g": 130,
    "b": 64
  },
  "hsl": {
    "h": 141.923,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53434,
    "c": 0.13567,
    "h": 150.3
  },
  "luminance": 0.16555
}

Semantic roles & 50–950 ramp

primary
#1A8240
secondary
#B6428B
accent
#3EABEA
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#071008
muted
#7A7F7B

Preview Lab

Preview with #1A8240

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

Preview Lab → · Contrast checker → · Palette generator →

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