#1A7D16#1A7D16

#1A7D16 is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.5% C 0.162 H 142.4°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#1A7D16
RGBrgb(26, 125, 22)
HSLhsl(118, 70%, 29%)
HSVhsv(118, 82%, 49%)
CMYKcmyk(79.2%, 0%, 82.4%, 51%)
CIE-LABlab(45.56, -47.09, 44.24)
CIE-LCHlch(45.56, 64.61, 136.79°)
OKLaboklab(51.53% -0.128 0.0986)
OKLCHoklch(51.53% 0.162 142.4)
XYZxyz(7.9040, 14.9438, 3.2268)
Luminance0.1494 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7D16 #79167D
analogous
#4E7D16 #1A7D16 #167D46
triadic
#1A7D16 #161A7D #7D161A
tetradic
#1A7D16 #164E7D #79167D #7D4616
square
#1A7D16 #164E7D #79167D #7D4616
split-complementary
#1A7D16 #46167D #7D164E
monochromatic
#051A05 #0F490D #1A7D16 #25B11F #39DB32

Accessibility & contrast

On white

5.26
#1A7D16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#1A7D16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7D16
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7D16#FFFFFF#000000##FFFFFF
##1A7D161.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807000
Deuteranopia (green-blind)
#756923
Tritanopia (blue-blind)
#00796A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1a7d16;
/* rgb */ color: rgb(26, 125, 22);
/* oklch */ color: oklch(51.5% 0.162 142.4);
Tailwind
colors: {
  custom: {
    50: '#6aa45d',
    500: '#1a7d16',
    950: '#000000',
  },
}
SCSS
$custom: #1a7d16;
$custom-light: #6aa45d;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7d16",
  "rgb": {
    "r": 26,
    "g": 125,
    "b": 22
  },
  "hsl": {
    "h": 117.67,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51528,
    "c": 0.16155,
    "h": 142.4
  },
  "luminance": 0.14945
}

Semantic roles & 50–950 ramp

primary
#1A7D16
secondary
#AD3DB2
accent
#3BEDE6
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #1A7D16

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

Preview Lab → · Contrast checker → · Palette generator →

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