#1A8015#1A8015

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

Color values

HEX#1A8015
RGBrgb(26, 128, 21)
HSLhsl(117, 72%, 29%)
HSVhsv(117, 84%, 50%)
CMYKcmyk(79.7%, 0%, 83.6%, 49.8%)
CIE-LABlab(46.59, -48.15, 45.53)
CIE-LCHlch(46.59, 66.27, 136.60°)
OKLaboklab(52.39% -0.1309 0.1011)
OKLCHoklch(52.39% 0.165 142.3)
XYZxyz(8.2800, 15.7111, 3.3055)
Luminance0.1571 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A8015 #7B1580
analogous
#508015 #1A8015 #158046
triadic
#1A8015 #151A80 #80151A
tetradic
#1A8015 #155080 #7B1580 #804615
square
#1A8015 #155080 #7B1580 #804615
split-complementary
#1A8015 #461580 #801550
monochromatic
#051A04 #0F4B0C #1A8015 #25B51E #3ADD32

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1A8015#FFFFFF#000000##FFFFFF
##1A80151.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: #1a8015;
/* rgb */ color: rgb(26, 128, 21);
/* oklch */ color: oklch(52.4% 0.165 142.3);
Tailwind
colors: {
  custom: {
    50: '#6ba65d',
    500: '#1a8015',
    950: '#000000',
  },
}
SCSS
$custom: #1a8015;
$custom-light: #6ba65d;
$custom-dark: #000000;
JSON
{
  "hex": "#1a8015",
  "rgb": {
    "r": 26,
    "g": 128,
    "b": 21
  },
  "hsl": {
    "h": 117.196,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52388,
    "c": 0.1654,
    "h": 142.3
  },
  "luminance": 0.15712
}

Semantic roles & 50–950 ramp

primary
#1A8015
secondary
#AF3CB5
accent
#39EFE6
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #1A8015

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

Preview Lab → · Contrast checker → · Palette generator →

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