#1A8142#1A8142

#1A8142 is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.2% C 0.132 H 151.1°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#1A8142
RGBrgb(26, 129, 66)
HSLhsl(143, 66%, 30%)
HSVhsv(143, 80%, 51%)
CMYKcmyk(79.8%, 0%, 48.8%, 49.4%)
CIE-LABlab(47.38, -43.14, 26.17)
CIE-LCHlch(47.38, 50.45, 148.76°)
OKLaboklab(53.19% -0.1159 0.064)
OKLCHoklch(53.19% 0.132 151.1)
XYZxyz(9.2588, 16.3124, 7.8138)
Luminance0.1631 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A8142 #811A59
analogous
#25811A #1A8142 #1A8175
triadic
#1A8142 #421A81 #81421A
tetradic
#1A8142 #1A2581 #811A59 #81751A
square
#1A8142 #1A2581 #811A59 #81751A
split-complementary
#1A8142 #751A81 #811A25
monochromatic
#051B0E #104E28 #1A8142 #24B45C #3DD879

Accessibility & contrast

On white

4.93
#1A8142 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#1A8142 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A8142
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A8142#FFFFFF#000000##FFFFFF
##1A81421.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82753D
Deuteranopia (green-blind)
#766D46
Tritanopia (blue-blind)
#007F72
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #1a8142;
/* rgb */ color: rgb(26, 129, 66);
/* oklch */ color: oklch(53.2% 0.132 151.1);
Tailwind
colors: {
  custom: {
    50: '#69a777',
    500: '#1a8142',
    950: '#000000',
  },
}
SCSS
$custom: #1a8142;
$custom-light: #69a777;
$custom-dark: #000000;
JSON
{
  "hex": "#1a8142",
  "rgb": {
    "r": 26,
    "g": 129,
    "b": 66
  },
  "hsl": {
    "h": 143.301,
    "s": 66.452,
    "l": 30.392
  },
  "oklch": {
    "l": 0.53186,
    "c": 0.13239,
    "h": 151.1
  },
  "luminance": 0.16313
}

Semantic roles & 50–950 ramp

primary
#1A8142
secondary
#B54288
accent
#3EA7E9
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #1A8142

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

Preview Lab → · Contrast checker → · Palette generator →

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