#1A7A16#1A7A16

#1A7A16 is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.7% C 0.158 H 142.4°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#1A7A16
RGBrgb(26, 122, 22)
HSLhsl(118, 69%, 28%)
HSVhsv(118, 82%, 48%)
CMYKcmyk(78.7%, 0%, 82%, 52.2%)
CIE-LABlab(44.51, -46.09, 43.25)
CIE-LCHlch(44.51, 63.20, 136.82°)
OKLaboklab(50.66% -0.1253 0.0965)
OKLCHoklch(50.66% 0.158 142.4)
XYZxyz(7.5299, 14.1957, 3.1021)
Luminance0.1420 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7A16 #76167A
analogous
#4C7A16 #1A7A16 #167A44
triadic
#1A7A16 #161A7A #7A161A
tetradic
#1A7A16 #164C7A #76167A #7A4416
square
#1A7A16 #164C7A #76167A #7A4416
split-complementary
#1A7A16 #44167A #7A164C
monochromatic
#061A05 #0F460D #1A7A16 #25AE1F #37DA31

Accessibility & contrast

On white

5.47
#1A7A16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#1A7A16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7A16
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7A16#FFFFFF#000000##FFFFFF
##1A7A161.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#726622
Tritanopia (blue-blind)
#007668
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #1a7a16;
/* rgb */ color: rgb(26, 122, 22);
/* oklch */ color: oklch(50.7% 0.158 142.4);
Tailwind
colors: {
  custom: {
    50: '#69a15c',
    500: '#1a7a16',
    950: '#000000',
  },
}
SCSS
$custom: #1a7a16;
$custom-light: #69a15c;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7a16",
  "rgb": {
    "r": 26,
    "g": 122,
    "b": 22
  },
  "hsl": {
    "h": 117.6,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50659,
    "c": 0.15812,
    "h": 142.4
  },
  "luminance": 0.14197
}

Semantic roles & 50–950 ramp

primary
#1A7A16
secondary
#AB3DAF
accent
#3CECE5
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#070F04
muted
#7A7F79

Preview Lab

Preview with #1A7A16

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

Preview Lab → · Contrast checker → · Palette generator →

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