#1A802A#1A802A

#1A802A is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.6% C 0.152 H 145.1°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#1A802A
RGBrgb(26, 128, 42)
HSLhsl(129, 66%, 30%)
HSVhsv(129, 80%, 50%)
CMYKcmyk(79.7%, 0%, 67.2%, 49.8%)
CIE-LABlab(46.74, -46.30, 37.56)
CIE-LCHlch(46.74, 59.62, 140.95°)
OKLaboklab(52.56% -0.1249 0.0872)
OKLCHoklch(52.56% 0.152 145.1)
XYZxyz(8.5625, 15.8241, 4.7931)
Luminance0.1583 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A802A #801A70
analogous
#3D801A #1A802A #1A805D
triadic
#1A802A #2A1A80 #802A1A
tetradic
#1A802A #1A3D80 #801A70 #805D1A
square
#1A802A #1A3D80 #801A70 #805D1A
split-complementary
#1A802A #5D1A80 #801A3D
monochromatic
#051A09 #104D19 #1A802A #24B33B #3DD855

Accessibility & contrast

On white

5.04
#1A802A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#1A802A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A802A
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A802A#FFFFFF#000000##FFFFFF
##1A802A1.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82741F
Deuteranopia (green-blind)
#776C32
Tritanopia (blue-blind)
#007D6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #1a802a;
/* rgb */ color: rgb(26, 128, 42);
/* oklch */ color: oklch(52.6% 0.152 145.1);
Tailwind
colors: {
  custom: {
    50: '#6aa668',
    500: '#1a802a',
    950: '#000000',
  },
}
SCSS
$custom: #1a802a;
$custom-light: #6aa668;
$custom-dark: #000000;
JSON
{
  "hex": "#1a802a",
  "rgb": {
    "r": 26,
    "g": 128,
    "b": 42
  },
  "hsl": {
    "h": 129.412,
    "s": 66.234,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52561,
    "c": 0.15236,
    "h": 145.1
  },
  "luminance": 0.15825
}

Semantic roles & 50–950 ramp

primary
#1A802A
secondary
#B442A2
accent
#3FCEE9
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1A802A

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

Preview Lab → · Contrast checker → · Palette generator →

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