#1A8F2A#1A8F2A

#1A8F2A is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.8% C 0.170 H 144.5°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#1A8F2A
RGBrgb(26, 143, 42)
HSLhsl(128, 69%, 33%)
HSVhsv(128, 82%, 56%)
CMYKcmyk(81.8%, 0%, 70.6%, 43.9%)
CIE-LABlab(51.87, -51.38, 43.11)
CIE-LCHlch(51.87, 67.07, 140.00°)
OKLaboklab(56.82% -0.1387 0.0989)
OKLCHoklch(56.82% 0.17 144.5)
XYZxyz(10.6656, 20.0304, 5.4942)
Luminance0.2003 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A8F2A #8F1A7F
analogous
#448F1A #1A8F2A #1A8F64
triadic
#1A8F2A #2A1A8F #8F2A1A
tetradic
#1A8F2A #1A448F #8F1A7F #8F641A
square
#1A8F2A #1A448F #8F1A7F #8F641A
split-complementary
#1A8F2A #641A8F #8F1A44
monochromatic
#07270C #115B1B #1A8F2A #23C339 #46DD5B

Accessibility & contrast

On white

4.19
#1A8F2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#1A8F2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1A8F2A
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A8F2A#FFFFFF#000000##000000
##1A8F2A1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#92811B
Deuteranopia (green-blind)
#857834
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #1a8f2a;
/* rgb */ color: rgb(26, 143, 42);
/* oklch */ color: oklch(56.8% 0.170 144.5);
Tailwind
colors: {
  custom: {
    50: '#6eb169',
    500: '#1a8f2a',
    950: '#000000',
  },
}
SCSS
$custom: #1a8f2a;
$custom-light: #6eb169;
$custom-dark: #000000;
JSON
{
  "hex": "#1a8f2a",
  "rgb": {
    "r": 26,
    "g": 143,
    "b": 42
  },
  "hsl": {
    "h": 128.205,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56822,
    "c": 0.1704,
    "h": 144.5
  },
  "luminance": 0.20032
}

Semantic roles & 50–950 ramp

primary
#1A8F2A
secondary
#BF46AE
accent
#3CD4EC
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081107
muted
#7B807A

Preview Lab

Preview with #1A8F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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