#1A7313#1A7313

#1A7313 is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.6% C 0.152 H 142.1°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#1A7313
RGBrgb(26, 115, 19)
HSLhsl(116, 72%, 26%)
HSVhsv(116, 83%, 45%)
CMYKcmyk(77.4%, 0%, 83.5%, 54.9%)
CIE-LABlab(42.04, -43.91, 41.88)
CIE-LCHlch(42.04, 60.68, 136.35°)
OKLaboklab(48.6% -0.1195 0.0932)
OKLCHoklch(48.6% 0.152 142.1)
XYZxyz(6.6739, 12.5273, 2.6823)
Luminance0.1253 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7313 #6C1373
analogous
#4A7313 #1A7313 #13733C
triadic
#1A7313 #131A73 #73131A
tetradic
#1A7313 #134A73 #6C1373 #733C13
square
#1A7313 #134A73 #6C1373 #733C13
split-complementary
#1A7313 #3C1373 #73134A
monochromatic
#061A04 #0E3E0A #1A7313 #26A81C #33DB25

Accessibility & contrast

On white

5.99
#1A7313 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#1A7313 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7313
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7313#FFFFFF#000000##FFFFFF
##1A73131.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766700
Deuteranopia (green-blind)
#6C611F
Tritanopia (blue-blind)
#006F61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #1a7313;
/* rgb */ color: rgb(26, 115, 19);
/* oklch */ color: oklch(48.6% 0.152 142.1);
Tailwind
colors: {
  custom: {
    50: '#679c5a',
    500: '#1a7313',
    950: '#000000',
  },
}
SCSS
$custom: #1a7313;
$custom-light: #679c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7313",
  "rgb": {
    "r": 26,
    "g": 115,
    "b": 19
  },
  "hsl": {
    "h": 115.625,
    "s": 71.642,
    "l": 26.275
  },
  "oklch": {
    "l": 0.48601,
    "c": 0.15155,
    "h": 142.1
  },
  "luminance": 0.12528
}

Semantic roles & 50–950 ramp

primary
#1A7313
secondary
#A138AA
accent
#39EEE1
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1A7313

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

Preview Lab → · Contrast checker → · Palette generator →

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