#1A8B2C#1A8B2C

#1A8B2C is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.7% C 0.164 H 145.0°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#1A8B2C
RGBrgb(26, 139, 44)
HSLhsl(130, 68%, 32%)
HSVhsv(130, 81%, 55%)
CMYKcmyk(81.3%, 0%, 68.3%, 45.5%)
CIE-LABlab(50.53, -49.84, 40.82)
CIE-LCHlch(50.53, 64.42, 140.69°)
OKLaboklab(55.71% -0.1345 0.0943)
OKLCHoklch(55.71% 0.164 145)
XYZxyz(10.1125, 18.8655, 5.4908)
Luminance0.1887 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A8B2C #8B1A79
analogous
#408B1A #1A8B2C #1A8B65
triadic
#1A8B2C #2C1A8B #8B2C1A
tetradic
#1A8B2C #1A408B #8B1A79 #8B651A
square
#1A8B2C #1A408B #8B1A79 #8B651A
split-complementary
#1A8B2C #651A8B #8B1A40
monochromatic
#07240B #10571C #1A8B2C #24BF3C #43DC5C

Accessibility & contrast

On white

4.40
#1A8B2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#1A8B2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1A8B2C
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A8B2C#FFFFFF#000000##000000
##1A8B2C1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D1F
Deuteranopia (green-blind)
#817535
Tritanopia (blue-blind)
#008778
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #1a8b2c;
/* rgb */ color: rgb(26, 139, 44);
/* oklch */ color: oklch(55.7% 0.164 145.0);
Tailwind
colors: {
  custom: {
    50: '#6cae6a',
    500: '#1a8b2c',
    950: '#000000',
  },
}
SCSS
$custom: #1a8b2c;
$custom-light: #6cae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a8b2c",
  "rgb": {
    "r": 26,
    "g": 139,
    "b": 44
  },
  "hsl": {
    "h": 129.558,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.55712,
    "c": 0.16424,
    "h": 145
  },
  "luminance": 0.18867
}

Semantic roles & 50–950 ramp

primary
#1A8B2C
secondary
#BD44AA
accent
#3CCFEB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #1A8B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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