#1A8115#1A8115

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

Color values

HEX#1A8115
RGBrgb(26, 129, 21)
HSLhsl(117, 72%, 29%)
HSVhsv(117, 84%, 51%)
CMYKcmyk(79.8%, 0%, 83.7%, 49.4%)
CIE-LABlab(46.94, -48.48, 45.85)
CIE-LCHlch(46.94, 66.73, 136.59°)
OKLaboklab(52.68% -0.1318 0.1018)
OKLCHoklch(52.68% 0.167 142.3)
XYZxyz(8.4111, 15.9733, 3.3492)
Luminance0.1597 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A8115 #7C1581
analogous
#508115 #1A8115 #158146
triadic
#1A8115 #151A81 #81151A
tetradic
#1A8115 #155081 #7C1581 #814615
square
#1A8115 #155081 #7C1581 #814615
split-complementary
#1A8115 #461581 #811550
monochromatic
#051A04 #0F4C0C #1A8115 #25B61E #3BDE33

Accessibility & contrast

On white

5.01
#1A8115 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#1A8115 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A8115
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A8115#FFFFFF#000000##FFFFFF
##1A81151.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a8115;
/* rgb */ color: rgb(26, 129, 21);
/* oklch */ color: oklch(52.7% 0.167 142.3);
Tailwind
colors: {
  custom: {
    50: '#6ba75d',
    500: '#1a8115',
    950: '#000000',
  },
}
SCSS
$custom: #1a8115;
$custom-light: #6ba75d;
$custom-dark: #000000;
JSON
{
  "hex": "#1a8115",
  "rgb": {
    "r": 26,
    "g": 129,
    "b": 21
  },
  "hsl": {
    "h": 117.222,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52676,
    "c": 0.16652,
    "h": 142.3
  },
  "luminance": 0.15974
}

Semantic roles & 50–950 ramp

primary
#1A8115
secondary
#B03CB6
accent
#39EFE6
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #1A8115

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

Preview Lab → · Contrast checker → · Palette generator →

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