#1A8742#1A8742

#1A8742 is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.9% C 0.140 H 150.2°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#1A8742
RGBrgb(26, 135, 66)
HSLhsl(142, 68%, 32%)
HSVhsv(142, 81%, 53%)
CMYKcmyk(80.7%, 0%, 51.1%, 47.1%)
CIE-LABlab(49.42, -45.38, 28.73)
CIE-LCHlch(49.42, 53.72, 147.66°)
OKLaboklab(54.88% -0.1219 0.0698)
OKLCHoklch(54.88% 0.14 150.2)
XYZxyz(10.0725, 17.9397, 8.0851)
Luminance0.1794 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A8742 #871A5F
analogous
#29871A #1A8742 #1A8779
triadic
#1A8742 #421A87 #87421A
tetradic
#1A8742 #1A2987 #871A5F #87791A
square
#1A8742 #1A2987 #871A5F #87791A
split-complementary
#1A8742 #791A87 #871A29
monochromatic
#062010 #105429 #1A8742 #24BA5B #41DA79

Accessibility & contrast

On white

4.58
#1A8742 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#1A8742 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1A8742
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A8742#FFFFFF#000000##000000
##1A87421.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#887B3C
Deuteranopia (green-blind)
#7C7247
Tritanopia (blue-blind)
#008577
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #1a8742;
/* rgb */ color: rgb(26, 135, 66);
/* oklch */ color: oklch(54.9% 0.140 150.2);
Tailwind
colors: {
  custom: {
    50: '#6aab78',
    500: '#1a8742',
    950: '#000000',
  },
}
SCSS
$custom: #1a8742;
$custom-light: #6aab78;
$custom-dark: #000000;
JSON
{
  "hex": "#1a8742",
  "rgb": {
    "r": 26,
    "g": 135,
    "b": 66
  },
  "hsl": {
    "h": 142.018,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54876,
    "c": 0.14045,
    "h": 150.2
  },
  "luminance": 0.17941
}

Semantic roles & 50–950 ramp

primary
#1A8742
secondary
#BA428E
accent
#3DABEB
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#081009
muted
#7A7F7B

Preview Lab

Preview with #1A8742

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

Preview Lab → · Contrast checker → · Palette generator →

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