#1A8542#1A8542

#1A8542 is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.3% C 0.138 H 150.5°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#1A8542
RGBrgb(26, 133, 66)
HSLhsl(142, 67%, 31%)
HSVhsv(142, 80%, 52%)
CMYKcmyk(80.5%, 0%, 50.4%, 47.8%)
CIE-LABlab(48.74, -44.64, 27.88)
CIE-LCHlch(48.74, 52.63, 148.01°)
OKLaboklab(54.31% -0.1199 0.0679)
OKLCHoklch(54.31% 0.138 150.5)
XYZxyz(9.7961, 17.3868, 7.9929)
Luminance0.1739 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A8542 #851A5D
analogous
#27851A #1A8542 #1A8577
triadic
#1A8542 #421A85 #85421A
tetradic
#1A8542 #1A2785 #851A5D #85771A
square
#1A8542 #1A2785 #851A5D #85771A
split-complementary
#1A8542 #771A85 #851A27
monochromatic
#061F0F #105229 #1A8542 #24B85B #40DA79

Accessibility & contrast

On white

4.69
#1A8542 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#1A8542 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A8542
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A8542#FFFFFF#000000##FFFFFF
##1A85421.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86793D
Deuteranopia (green-blind)
#7A7047
Tritanopia (blue-blind)
#008375
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1a8542;
/* rgb */ color: rgb(26, 133, 66);
/* oklch */ color: oklch(54.3% 0.138 150.5);
Tailwind
colors: {
  custom: {
    50: '#6aa977',
    500: '#1a8542',
    950: '#000000',
  },
}
SCSS
$custom: #1a8542;
$custom-light: #6aa977;
$custom-dark: #000000;
JSON
{
  "hex": "#1a8542",
  "rgb": {
    "r": 26,
    "g": 133,
    "b": 66
  },
  "hsl": {
    "h": 142.43,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54313,
    "c": 0.13779,
    "h": 150.5
  },
  "luminance": 0.17388
}

Semantic roles & 50–950 ramp

primary
#1A8542
secondary
#B8428C
accent
#3EAAEA
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#071009
muted
#7A7F7B

Preview Lab

Preview with #1A8542

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

Preview Lab → · Contrast checker → · Palette generator →

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