#1A7316#1A7316

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

Color values

HEX#1A7316
RGBrgb(26, 115, 22)
HSLhsl(117, 68%, 27%)
HSVhsv(117, 81%, 45%)
CMYKcmyk(77.4%, 0%, 80.9%, 54.9%)
CIE-LABlab(42.06, -43.70, 40.89)
CIE-LCHlch(42.06, 59.84, 136.90°)
OKLaboklab(48.62% -0.1188 0.0916)
OKLCHoklch(48.62% 0.15 142.4)
XYZxyz(6.7012, 12.5382, 2.8259)
Luminance0.1254 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7316 #6F1673
analogous
#497316 #1A7316 #167341
triadic
#1A7316 #161A73 #73161A
tetradic
#1A7316 #164973 #6F1673 #734116
square
#1A7316 #164973 #6F1673 #734116
split-complementary
#1A7316 #411673 #731649
monochromatic
#061A05 #0E400C #1A7316 #26A620 #34D72D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1A7316#FFFFFF#000000##FFFFFF
##1A73161.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)
#6C6121
Tritanopia (blue-blind)
#006F62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #1a7316;
/* rgb */ color: rgb(26, 115, 22);
/* oklch */ color: oklch(48.6% 0.150 142.4);
Tailwind
colors: {
  custom: {
    50: '#679c5b',
    500: '#1a7316',
    950: '#000000',
  },
}
SCSS
$custom: #1a7316;
$custom-light: #679c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7316",
  "rgb": {
    "r": 26,
    "g": 115,
    "b": 22
  },
  "hsl": {
    "h": 117.419,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.4862,
    "c": 0.15,
    "h": 142.4
  },
  "luminance": 0.12539
}

Semantic roles & 50–950 ramp

primary
#1A7316
secondary
#A43CA9
accent
#3DEBE3
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1A7316

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

Preview Lab → · Contrast checker → · Palette generator →

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