#1A802F#1A802F

#1A802F is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.6% C 0.148 H 146.1°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#1A802F
RGBrgb(26, 128, 47)
HSLhsl(132, 66%, 30%)
HSVhsv(132, 80%, 50%)
CMYKcmyk(79.7%, 0%, 63.3%, 49.8%)
CIE-LABlab(46.79, -45.69, 35.27)
CIE-LCHlch(46.79, 57.72, 142.34°)
OKLaboklab(52.62% -0.1231 0.0828)
OKLCHoklch(52.62% 0.148 146.1)
XYZxyz(8.6576, 15.8622, 5.2942)
Luminance0.1586 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A802F #801A6B
analogous
#38801A #1A802F #1A8062
triadic
#1A802F #2F1A80 #802F1A
tetradic
#1A802F #1A3880 #801A6B #80621A
square
#1A802F #1A3880 #801A6B #80621A
split-complementary
#1A802F #621A80 #801A38
monochromatic
#051A0A #104D1C #1A802F #24B342 #3DD85D

Accessibility & contrast

On white

5.03
#1A802F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1A802F
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A802F#FFFFFF#000000##FFFFFF
##1A802F1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827426
Deuteranopia (green-blind)
#776C36
Tritanopia (blue-blind)
#007D6F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #1a802f;
/* rgb */ color: rgb(26, 128, 47);
/* oklch */ color: oklch(52.6% 0.148 146.1);
Tailwind
colors: {
  custom: {
    50: '#69a66b',
    500: '#1a802f',
    950: '#000000',
  },
}
SCSS
$custom: #1a802f;
$custom-light: #69a66b;
$custom-dark: #000000;
JSON
{
  "hex": "#1a802f",
  "rgb": {
    "r": 26,
    "g": 128,
    "b": 47
  },
  "hsl": {
    "h": 132.353,
    "s": 66.234,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52619,
    "c": 0.14836,
    "h": 146.1
  },
  "luminance": 0.15863
}

Semantic roles & 50–950 ramp

primary
#1A802F
secondary
#B4429C
accent
#3FC6E9
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #1A802F

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

Preview Lab → · Contrast checker → · Palette generator →

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