#1A7216#1A7216

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

Color values

HEX#1A7216
RGBrgb(26, 114, 22)
HSLhsl(117, 68%, 27%)
HSVhsv(117, 81%, 45%)
CMYKcmyk(77.2%, 0%, 80.7%, 55.3%)
CIE-LABlab(41.71, -43.35, 40.55)
CIE-LCHlch(41.71, 59.36, 136.92°)
OKLaboklab(48.33% -0.1179 0.0908)
OKLCHoklch(48.33% 0.149 142.4)
XYZxyz(6.5877, 12.3114, 2.7881)
Luminance0.1231 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7216 #6E1672
analogous
#487216 #1A7216 #167240
triadic
#1A7216 #161A72 #72161A
tetradic
#1A7216 #164872 #6E1672 #724016
square
#1A7216 #164872 #6E1672 #724016
split-complementary
#1A7216 #401672 #721648
monochromatic
#061A05 #0E3F0C #1A7216 #26A520 #34D62C

Accessibility & contrast

On white

6.07
#1A7216 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#1A7216 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7216
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7216#FFFFFF#000000##FFFFFF
##1A72161.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756701
Deuteranopia (green-blind)
#6B6021
Tritanopia (blue-blind)
#006E61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #1a7216;
/* rgb */ color: rgb(26, 114, 22);
/* oklch */ color: oklch(48.3% 0.149 142.4);
Tailwind
colors: {
  custom: {
    50: '#679b5b',
    500: '#1a7216',
    950: '#000000',
  },
}
SCSS
$custom: #1a7216;
$custom-light: #679b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7216",
  "rgb": {
    "r": 26,
    "g": 114,
    "b": 22
  },
  "hsl": {
    "h": 117.391,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.48328,
    "c": 0.14882,
    "h": 142.4
  },
  "luminance": 0.12312
}

Semantic roles & 50–950 ramp

primary
#1A7216
secondary
#A33CA8
accent
#3DEBE3
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1A7216

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

Preview Lab → · Contrast checker → · Palette generator →

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