#1A7C16#1A7C16

#1A7C16 is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.2% C 0.160 H 142.4°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#1A7C16
RGBrgb(26, 124, 22)
HSLhsl(118, 70%, 29%)
HSVhsv(118, 82%, 49%)
CMYKcmyk(79%, 0%, 82.3%, 51.4%)
CIE-LABlab(45.21, -46.76, 43.91)
CIE-LCHlch(45.21, 64.14, 136.80°)
OKLaboklab(51.24% -0.1271 0.0979)
OKLCHoklch(51.24% 0.16 142.4)
XYZxyz(7.7780, 14.6919, 3.1848)
Luminance0.1469 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7C16 #78167C
analogous
#4D7C16 #1A7C16 #167C45
triadic
#1A7C16 #161A7C #7C161A
tetradic
#1A7C16 #164D7C #78167C #7C4516
square
#1A7C16 #164D7C #78167C #7C4516
split-complementary
#1A7C16 #45167C #7C164D
monochromatic
#051A05 #0F480D #1A7C16 #25B01F #38DB32

Accessibility & contrast

On white

5.33
#1A7C16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#1A7C16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7C16
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7C16#FFFFFF#000000##FFFFFF
##1A7C161.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F00
Deuteranopia (green-blind)
#746822
Tritanopia (blue-blind)
#007869
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1a7c16;
/* rgb */ color: rgb(26, 124, 22);
/* oklch */ color: oklch(51.2% 0.160 142.4);
Tailwind
colors: {
  custom: {
    50: '#6aa35d',
    500: '#1a7c16',
    950: '#000000',
  },
}
SCSS
$custom: #1a7c16;
$custom-light: #6aa35d;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7c16",
  "rgb": {
    "r": 26,
    "g": 124,
    "b": 22
  },
  "hsl": {
    "h": 117.647,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51239,
    "c": 0.16041,
    "h": 142.4
  },
  "luminance": 0.14693
}

Semantic roles & 50–950 ramp

primary
#1A7C16
secondary
#AC3DB1
accent
#3BEDE6
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F04
muted
#7A7F79

Preview Lab

Preview with #1A7C16

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

Preview Lab → · Contrast checker → · Palette generator →

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