#1A7F13#1A7F13

#1A7F13 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.1% C 0.165 H 142.2°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#1A7F13
RGBrgb(26, 127, 19)
HSLhsl(116, 74%, 29%)
HSVhsv(116, 85%, 50%)
CMYKcmyk(79.5%, 0%, 85%, 50.2%)
CIE-LABlab(46.24, -47.94, 45.79)
CIE-LCHlch(46.24, 66.29, 136.31°)
OKLaboklab(52.09% -0.1304 0.1014)
OKLCHoklch(52.09% 0.165 142.2)
XYZxyz(8.1324, 15.4444, 3.1684)
Luminance0.1545 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7F13 #78137F
analogous
#507F13 #1A7F13 #137F42
triadic
#1A7F13 #131A7F #7F131A
tetradic
#1A7F13 #13507F #78137F #7F4213
square
#1A7F13 #13507F #78137F #7F4213
split-complementary
#1A7F13 #42137F #7F1350
monochromatic
#051B04 #0F4A0B #1A7F13 #25B41B #38E02D

Accessibility & contrast

On white

5.14
#1A7F13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#1A7F13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7F13
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7F13#FFFFFF#000000##FFFFFF
##1A7F131.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#776B21
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1a7f13;
/* rgb */ color: rgb(26, 127, 19);
/* oklch */ color: oklch(52.1% 0.165 142.2);
Tailwind
colors: {
  custom: {
    50: '#6ba55c',
    500: '#1a7f13',
    950: '#000000',
  },
}
SCSS
$custom: #1a7f13;
$custom-light: #6ba55c;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7f13",
  "rgb": {
    "r": 26,
    "g": 127,
    "b": 19
  },
  "hsl": {
    "h": 116.111,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52089,
    "c": 0.16518,
    "h": 142.2
  },
  "luminance": 0.15445
}

Semantic roles & 50–950 ramp

primary
#1A7F13
secondary
#AC39B4
accent
#37F1E5
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F04
muted
#7A7F79

Preview Lab

Preview with #1A7F13

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

Preview Lab → · Contrast checker → · Palette generator →

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