#1A8016#1A8016

#1A8016 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.4% C 0.165 H 142.4°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#1A8016
RGBrgb(26, 128, 22)
HSLhsl(118, 71%, 29%)
HSVhsv(118, 83%, 50%)
CMYKcmyk(79.7%, 0%, 82.8%, 49.8%)
CIE-LABlab(46.60, -48.09, 45.23)
CIE-LCHlch(46.60, 66.01, 136.76°)
OKLaboklab(52.39% -0.1307 0.1006)
OKLCHoklch(52.39% 0.165 142.4)
XYZxyz(8.2895, 15.7149, 3.3553)
Luminance0.1572 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A8016 #7C1680
analogous
#4F8016 #1A8016 #168047
triadic
#1A8016 #161A80 #80161A
tetradic
#1A8016 #164F80 #7C1680 #804716
square
#1A8016 #164F80 #7C1680 #804716
split-complementary
#1A8016 #471680 #80164F
monochromatic
#051A04 #0F4C0D #1A8016 #25B41F #3BDC34

Accessibility & contrast

On white

5.07
#1A8016 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#1A8016 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A8016
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A8016#FFFFFF#000000##FFFFFF
##1A80161.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#786B23
Tritanopia (blue-blind)
#007C6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1a8016;
/* rgb */ color: rgb(26, 128, 22);
/* oklch */ color: oklch(52.4% 0.165 142.4);
Tailwind
colors: {
  custom: {
    50: '#6ba65d',
    500: '#1a8016',
    950: '#000000',
  },
}
SCSS
$custom: #1a8016;
$custom-light: #6ba65d;
$custom-dark: #000000;
JSON
{
  "hex": "#1a8016",
  "rgb": {
    "r": 26,
    "g": 128,
    "b": 22
  },
  "hsl": {
    "h": 117.736,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52394,
    "c": 0.16493,
    "h": 142.4
  },
  "luminance": 0.15716
}

Semantic roles & 50–950 ramp

primary
#1A8016
secondary
#B03DB5
accent
#3AEDE7
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #1A8016

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

Preview Lab → · Contrast checker → · Palette generator →

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