#1A7816#1A7816

#1A7816 is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.1% C 0.156 H 142.4°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#1A7816
RGBrgb(26, 120, 22)
HSLhsl(118, 69%, 28%)
HSVhsv(118, 82%, 47%)
CMYKcmyk(78.3%, 0%, 81.7%, 52.9%)
CIE-LABlab(43.81, -45.41, 42.58)
CIE-LCHlch(43.81, 62.25, 136.84°)
OKLaboklab(50.08% -0.1234 0.0951)
OKLCHoklch(50.08% 0.156 142.4)
XYZxyz(7.2869, 13.7096, 3.0211)
Luminance0.1371 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7816 #741678
analogous
#4B7816 #1A7816 #167843
triadic
#1A7816 #161A78 #78161A
tetradic
#1A7816 #164B78 #741678 #784316
square
#1A7816 #164B78 #741678 #784316
split-complementary
#1A7816 #431678 #78164B
monochromatic
#061A05 #0F440D #1A7816 #25AC1F #36D92F

Accessibility & contrast

On white

5.61
#1A7816 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#1A7816 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7816
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7816#FFFFFF#000000##FFFFFF
##1A78161.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#716522
Tritanopia (blue-blind)
#007466
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #1a7816;
/* rgb */ color: rgb(26, 120, 22);
/* oklch */ color: oklch(50.1% 0.156 142.4);
Tailwind
colors: {
  custom: {
    50: '#69a05c',
    500: '#1a7816',
    950: '#000000',
  },
}
SCSS
$custom: #1a7816;
$custom-light: #69a05c;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7816",
  "rgb": {
    "r": 26,
    "g": 120,
    "b": 22
  },
  "hsl": {
    "h": 117.551,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.50079,
    "c": 0.15582,
    "h": 142.4
  },
  "luminance": 0.1371
}

Semantic roles & 50–950 ramp

primary
#1A7816
secondary
#A93CAD
accent
#3CECE5
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070F04
muted
#7A7E79

Preview Lab

Preview with #1A7816

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

Preview Lab → · Contrast checker → · Palette generator →

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