#1A8827#1A8827

#1A8827 is a mid, vivid green. Relative luminance 0.180; OKLCH L 54.8% C 0.164 H 144.3°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#1A8827
RGBrgb(26, 136, 39)
HSLhsl(127, 68%, 32%)
HSVhsv(127, 81%, 53%)
CMYKcmyk(80.9%, 0%, 71.3%, 46.7%)
CIE-LABlab(49.46, -49.35, 41.81)
CIE-LCHlch(49.46, 64.69, 139.73°)
OKLaboklab(54.81% -0.1334 0.0958)
OKLCHoklch(54.81% 0.164 144.3)
XYZxyz(9.5957, 17.9733, 4.8825)
Luminance0.1797 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A8827 #881A7B
analogous
#44881A #1A8827 #1A885E
triadic
#1A8827 #271A88 #88271A
tetradic
#1A8827 #1A4488 #881A7B #885E1A
square
#1A8827 #1A4488 #881A7B #885E1A
split-complementary
#1A8827 #5E1A88 #881A44
monochromatic
#06210A #105518 #1A8827 #24BB36 #42DB54

Accessibility & contrast

On white

4.57
#1A8827 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#1A8827 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1A8827
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A8827#FFFFFF#000000##000000
##1A88271.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B19
Deuteranopia (green-blind)
#7F7230
Tritanopia (blue-blind)
#008475
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #1a8827;
/* rgb */ color: rgb(26, 136, 39);
/* oklch */ color: oklch(54.8% 0.164 144.3);
Tailwind
colors: {
  custom: {
    50: '#6cac67',
    500: '#1a8827',
    950: '#000000',
  },
}
SCSS
$custom: #1a8827;
$custom-light: #6cac67;
$custom-dark: #000000;
JSON
{
  "hex": "#1a8827",
  "rgb": {
    "r": 26,
    "g": 136,
    "b": 39
  },
  "hsl": {
    "h": 127.091,
    "s": 67.901,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54812,
    "c": 0.16422,
    "h": 144.3
  },
  "luminance": 0.17974
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1A8827

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

Preview Lab → · Contrast checker → · Palette generator →

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