#1A8A27#1A8A27

#1A8A27 is a mid, vivid green. Relative luminance 0.185; OKLCH L 55.4% C 0.167 H 144.2°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#1A8A27
RGBrgb(26, 138, 39)
HSLhsl(127, 68%, 32%)
HSVhsv(127, 81%, 54%)
CMYKcmyk(81.2%, 0%, 71.7%, 45.9%)
CIE-LABlab(50.15, -50.02, 42.54)
CIE-LCHlch(50.15, 65.66, 139.62°)
OKLaboklab(55.38% -0.1352 0.0973)
OKLCHoklch(55.38% 0.167 144.2)
XYZxyz(9.8800, 18.5419, 4.9773)
Luminance0.1854 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A8A27 #8A1A7D
analogous
#458A1A #1A8A27 #1A8A5F
triadic
#1A8A27 #271A8A #8A271A
tetradic
#1A8A27 #1A458A #8A1A7D #8A5F1A
square
#1A8A27 #1A458A #8A1A7D #8A5F1A
split-complementary
#1A8A27 #5F1A8A #8A1A45
monochromatic
#07230A #105718 #1A8A27 #24BD36 #43DC55

Accessibility & contrast

On white

4.46
#1A8A27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#1A8A27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1A8A27
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A8A27#FFFFFF#000000##000000
##1A8A271.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C18
Deuteranopia (green-blind)
#817431
Tritanopia (blue-blind)
#008676
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #1a8a27;
/* rgb */ color: rgb(26, 138, 39);
/* oklch */ color: oklch(55.4% 0.167 144.2);
Tailwind
colors: {
  custom: {
    50: '#6cad67',
    500: '#1a8a27',
    950: '#000000',
  },
}
SCSS
$custom: #1a8a27;
$custom-light: #6cad67;
$custom-dark: #000000;
JSON
{
  "hex": "#1a8a27",
  "rgb": {
    "r": 26,
    "g": 138,
    "b": 39
  },
  "hsl": {
    "h": 126.964,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.5538,
    "c": 0.16657,
    "h": 144.2
  },
  "luminance": 0.18543
}

Semantic roles & 50–950 ramp

primary
#1A8A27
secondary
#BD43AF
accent
#3DD7EB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #1A8A27

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

Preview Lab → · Contrast checker → · Palette generator →

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