#1A9742#1A9742

#1A9742 is a mid, vivid green. Relative luminance 0.227; OKLCH L 59.3% C 0.161 H 148.4°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#1A9742
RGBrgb(26, 151, 66)
HSLhsl(139, 71%, 35%)
HSVhsv(139, 83%, 59%)
CMYKcmyk(82.8%, 0%, 56.3%, 40.8%)
CIE-LABlab(54.81, -51.11, 35.33)
CIE-LCHlch(54.81, 62.13, 145.34°)
OKLaboklab(59.34% -0.1372 0.0845)
OKLCHoklch(59.34% 0.161 148.4)
XYZxyz(12.4750, 22.7446, 8.8859)
Luminance0.2275 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A9742 #971A6F
analogous
#31971A #1A9742 #1A9781
triadic
#1A9742 #421A97 #97421A
tetradic
#1A9742 #1A3197 #971A6F #97811A
square
#1A9742 #1A3197 #971A6F #97811A
split-complementary
#1A9742 #811A97 #971A31
monochromatic
#082F14 #11632B #1A9742 #23CB59 #4BE07B

Accessibility & contrast

On white

3.78
#1A9742 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#1A9742 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1A9742
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A9742#FFFFFF#000000##000000
##1A97421.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#98893A
Deuteranopia (green-blind)
#8B7F49
Tritanopia (blue-blind)
#009484
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #1a9742;
/* rgb */ color: rgb(26, 151, 66);
/* oklch */ color: oklch(59.3% 0.161 148.4);
Tailwind
colors: {
  custom: {
    50: '#6fb779',
    500: '#1a9742',
    950: '#000000',
  },
}
SCSS
$custom: #1a9742;
$custom-light: #6fb779;
$custom-dark: #000000;
JSON
{
  "hex": "#1a9742",
  "rgb": {
    "r": 26,
    "g": 151,
    "b": 66
  },
  "hsl": {
    "h": 139.2,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.5934,
    "c": 0.16116,
    "h": 148.4
  },
  "luminance": 0.22746
}

Semantic roles & 50–950 ramp

primary
#1A9742
secondary
#C24B9C
accent
#3AB4ED
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091109
muted
#7B807B

Preview Lab

Preview with #1A9742

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

Preview Lab → · Contrast checker → · Palette generator →

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