#1A8013#1A8013

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

Color values

HEX#1A8013
RGBrgb(26, 128, 19)
HSLhsl(116, 74%, 29%)
HSVhsv(116, 85%, 50%)
CMYKcmyk(79.7%, 0%, 85.2%, 49.8%)
CIE-LABlab(46.58, -48.27, 46.11)
CIE-LCHlch(46.58, 66.75, 136.31°)
OKLaboklab(52.38% -0.1313 0.102)
OKLCHoklch(52.38% 0.166 142.2)
XYZxyz(8.2622, 15.7040, 3.2117)
Luminance0.1570 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A8013 #791380
analogous
#518013 #1A8013 #138043
triadic
#1A8013 #131A80 #80131A
tetradic
#1A8013 #135180 #791380 #804313
square
#1A8013 #135180 #791380 #804313
split-complementary
#1A8013 #431380 #801351
monochromatic
#051B04 #0F4B0B #1A8013 #25B51B #39E02D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1A8013#FFFFFF#000000##FFFFFF
##1A80131.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)
#786B21
Tritanopia (blue-blind)
#007C6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1a8013;
/* rgb */ color: rgb(26, 128, 19);
/* oklch */ color: oklch(52.4% 0.166 142.2);
Tailwind
colors: {
  custom: {
    50: '#6ba65c',
    500: '#1a8013',
    950: '#000000',
  },
}
SCSS
$custom: #1a8013;
$custom-light: #6ba65c;
$custom-dark: #000000;
JSON
{
  "hex": "#1a8013",
  "rgb": {
    "r": 26,
    "g": 128,
    "b": 19
  },
  "hsl": {
    "h": 116.147,
    "s": 74.15,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52377,
    "c": 0.16629,
    "h": 142.2
  },
  "luminance": 0.15705
}

Semantic roles & 50–950 ramp

primary
#1A8013
secondary
#AD39B5
accent
#37F1E5
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F04
muted
#7B7F79

Preview Lab

Preview with #1A8013

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

Preview Lab → · Contrast checker → · Palette generator →

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