#1A8117#1A8117

#1A8117 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.7% C 0.166 H 142.5°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#1A8117
RGBrgb(26, 129, 23)
HSLhsl(118, 70%, 30%)
HSVhsv(118, 82%, 51%)
CMYKcmyk(79.8%, 0%, 82.2%, 49.4%)
CIE-LABlab(46.95, -48.35, 45.24)
CIE-LCHlch(46.95, 66.22, 136.90°)
OKLaboklab(52.69% -0.1314 0.1008)
OKLCHoklch(52.69% 0.166 142.5)
XYZxyz(8.4304, 15.9810, 3.4508)
Luminance0.1598 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A8117 #7E1781
analogous
#4F8117 #1A8117 #178149
triadic
#1A8117 #171A81 #81171A
tetradic
#1A8117 #174F81 #7E1781 #814917
square
#1A8117 #174F81 #7E1781 #814917
split-complementary
#1A8117 #491781 #81174F
monochromatic
#051A05 #104D0E #1A8117 #24B520 #3CDB37

Accessibility & contrast

On white

5.00
#1A8117 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#1A8117 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A8117
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A8117#FFFFFF#000000##FFFFFF
##1A81171.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#796C24
Tritanopia (blue-blind)
#007D6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #1a8117;
/* rgb */ color: rgb(26, 129, 23);
/* oklch */ color: oklch(52.7% 0.166 142.5);
Tailwind
colors: {
  custom: {
    50: '#6ba75e',
    500: '#1a8117',
    950: '#000000',
  },
}
SCSS
$custom: #1a8117;
$custom-light: #6ba75e;
$custom-dark: #000000;
JSON
{
  "hex": "#1a8117",
  "rgb": {
    "r": 26,
    "g": 129,
    "b": 23
  },
  "hsl": {
    "h": 118.302,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52688,
    "c": 0.16557,
    "h": 142.5
  },
  "luminance": 0.15982
}

Semantic roles & 50–950 ramp

primary
#1A8117
secondary
#B23EB5
accent
#3BEDE8
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #1A8117

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

Preview Lab → · Contrast checker → · Palette generator →

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