#1A802C#1A802C

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

Color values

HEX#1A802C
RGBrgb(26, 128, 44)
HSLhsl(131, 66%, 30%)
HSVhsv(131, 80%, 50%)
CMYKcmyk(79.7%, 0%, 65.6%, 49.8%)
CIE-LABlab(46.76, -46.06, 36.66)
CIE-LCHlch(46.76, 58.87, 141.49°)
OKLaboklab(52.58% -0.1242 0.0855)
OKLCHoklch(52.58% 0.151 145.5)
XYZxyz(8.5992, 15.8388, 4.9864)
Luminance0.1584 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A802C #801A6E
analogous
#3B801A #1A802C #1A805F
triadic
#1A802C #2C1A80 #802C1A
tetradic
#1A802C #1A3B80 #801A6E #805F1A
square
#1A802C #1A3B80 #801A6E #805F1A
split-complementary
#1A802C #5F1A80 #801A3B
monochromatic
#051A09 #104D1B #1A802C #24B33D #3DD858

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1A802C#FFFFFF#000000##FFFFFF
##1A802C1.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)
#827422
Deuteranopia (green-blind)
#776C33
Tritanopia (blue-blind)
#007D6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #1a802c;
/* rgb */ color: rgb(26, 128, 44);
/* oklch */ color: oklch(52.6% 0.151 145.5);
Tailwind
colors: {
  custom: {
    50: '#69a669',
    500: '#1a802c',
    950: '#000000',
  },
}
SCSS
$custom: #1a802c;
$custom-light: #69a669;
$custom-dark: #000000;
JSON
{
  "hex": "#1a802c",
  "rgb": {
    "r": 26,
    "g": 128,
    "b": 44
  },
  "hsl": {
    "h": 130.588,
    "s": 66.234,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52583,
    "c": 0.15079,
    "h": 145.5
  },
  "luminance": 0.1584
}

Semantic roles & 50–950 ramp

primary
#1A802C
secondary
#B442A0
accent
#3FCBE9
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1A802C

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

Preview Lab → · Contrast checker → · Palette generator →

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