#1A8727#1A8727

#1A8727 is a mid, vivid green. Relative luminance 0.177; OKLCH L 54.5% C 0.163 H 144.3°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#1A8727
RGBrgb(26, 135, 39)
HSLhsl(127, 68%, 32%)
HSVhsv(127, 81%, 53%)
CMYKcmyk(80.7%, 0%, 71.1%, 47.1%)
CIE-LABlab(49.12, -49.02, 41.45)
CIE-LCHlch(49.12, 64.19, 139.78°)
OKLaboklab(54.53% -0.1325 0.0951)
OKLCHoklch(54.53% 0.163 144.3)
XYZxyz(9.4555, 17.6929, 4.8358)
Luminance0.1769 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A8727 #871A7A
analogous
#44871A #1A8727 #1A875E
triadic
#1A8727 #271A87 #87271A
tetradic
#1A8727 #1A4487 #871A7A #875E1A
square
#1A8727 #1A4487 #871A7A #875E1A
split-complementary
#1A8727 #5E1A87 #871A44
monochromatic
#062009 #105418 #1A8727 #24BA36 #41DA53

Accessibility & contrast

On white

4.63
#1A8727 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#1A8727 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #1A8727
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A8727#FFFFFF#000000##FFFFFF
##1A87271.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A19
Deuteranopia (green-blind)
#7E7230
Tritanopia (blue-blind)
#008374
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #1a8727;
/* rgb */ color: rgb(26, 135, 39);
/* oklch */ color: oklch(54.5% 0.163 144.3);
Tailwind
colors: {
  custom: {
    50: '#6cab67',
    500: '#1a8727',
    950: '#000000',
  },
}
SCSS
$custom: #1a8727;
$custom-light: #6cab67;
$custom-dark: #000000;
JSON
{
  "hex": "#1a8727",
  "rgb": {
    "r": 26,
    "g": 135,
    "b": 39
  },
  "hsl": {
    "h": 127.156,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54528,
    "c": 0.16304,
    "h": 144.3
  },
  "luminance": 0.17694
}

Semantic roles & 50–950 ramp

primary
#1A8727
secondary
#BA42AC
accent
#3DD6EB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #1A8727

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

Preview Lab → · Contrast checker → · Palette generator →

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