#1A802B#1A802B

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

Color values

HEX#1A802B
RGBrgb(26, 128, 43)
HSLhsl(130, 66%, 30%)
HSVhsv(130, 80%, 50%)
CMYKcmyk(79.7%, 0%, 66.4%, 49.8%)
CIE-LABlab(46.75, -46.18, 37.11)
CIE-LCHlch(46.75, 59.25, 141.22°)
OKLaboklab(52.57% -0.1246 0.0864)
OKLCHoklch(52.57% 0.152 145.3)
XYZxyz(8.5806, 15.8314, 4.8886)
Luminance0.1583 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A802B #801A6F
analogous
#3C801A #1A802B #1A805E
triadic
#1A802B #2B1A80 #802B1A
tetradic
#1A802B #1A3C80 #801A6F #805E1A
square
#1A802B #1A3C80 #801A6F #805E1A
split-complementary
#1A802B #5E1A80 #801A3C
monochromatic
#051A09 #104D1A #1A802B #24B33C #3DD857

Accessibility & contrast

On white

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

On black

4.17
#1A802B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1A802B#FFFFFF#000000##FFFFFF
##1A802B1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827421
Deuteranopia (green-blind)
#776C33
Tritanopia (blue-blind)
#007D6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #1a802b;
/* rgb */ color: rgb(26, 128, 43);
/* oklch */ color: oklch(52.6% 0.152 145.3);
Tailwind
colors: {
  custom: {
    50: '#6aa668',
    500: '#1a802b',
    950: '#000000',
  },
}
SCSS
$custom: #1a802b;
$custom-light: #6aa668;
$custom-dark: #000000;
JSON
{
  "hex": "#1a802b",
  "rgb": {
    "r": 26,
    "g": 128,
    "b": 43
  },
  "hsl": {
    "h": 130,
    "s": 66.234,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52572,
    "c": 0.15158,
    "h": 145.3
  },
  "luminance": 0.15832
}

Semantic roles & 50–950 ramp

primary
#1A802B
secondary
#B442A1
accent
#3FCDE9
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1A802B

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

Preview Lab → · Contrast checker → · Palette generator →

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