#1A7117#1A7117

#1A7117 is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.0% C 0.147 H 142.5°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#1A7117
RGBrgb(26, 113, 23)
HSLhsl(118, 66%, 27%)
HSVhsv(118, 80%, 44%)
CMYKcmyk(77%, 0%, 79.6%, 55.7%)
CIE-LABlab(41.36, -42.93, 39.85)
CIE-LCHlch(41.36, 58.57, 137.13°)
OKLaboklab(48.04% -0.1167 0.0895)
OKLCHoklch(48.04% 0.147 142.5)
XYZxyz(6.4854, 12.0910, 2.8024)
Luminance0.1209 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7117 #6E1771
analogous
#477117 #1A7117 #177141
triadic
#1A7117 #171A71 #71171A
tetradic
#1A7117 #174771 #6E1771 #714117
square
#1A7117 #174771 #6E1771 #714117
split-complementary
#1A7117 #411771 #711747
monochromatic
#061905 #0E3E0D #1A7117 #26A421 #34D42E

Accessibility & contrast

On white

6.14
#1A7117 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#1A7117 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7117
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7117#FFFFFF#000000##FFFFFF
##1A71171.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746603
Deuteranopia (green-blind)
#6A5F21
Tritanopia (blue-blind)
#006D60
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #1a7117;
/* rgb */ color: rgb(26, 113, 23);
/* oklch */ color: oklch(48.0% 0.147 142.5);
Tailwind
colors: {
  custom: {
    50: '#679b5b',
    500: '#1a7117',
    950: '#000000',
  },
}
SCSS
$custom: #1a7117;
$custom-light: #679b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7117",
  "rgb": {
    "r": 26,
    "g": 113,
    "b": 23
  },
  "hsl": {
    "h": 118,
    "s": 66.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.48042,
    "c": 0.14707,
    "h": 142.5
  },
  "luminance": 0.12092
}

Semantic roles & 50–950 ramp

primary
#1A7117
secondary
#A33DA7
accent
#3FE9E3
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1A7117

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

Preview Lab → · Contrast checker → · Palette generator →

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