#1A8D21#1A8D21

#1A8D21 is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.2% C 0.174 H 143.4°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#1A8D21
RGBrgb(26, 141, 33)
HSLhsl(124, 69%, 33%)
HSVhsv(124, 82%, 55%)
CMYKcmyk(81.6%, 0%, 76.6%, 44.7%)
CIE-LABlab(51.13, -51.54, 45.88)
CIE-LCHlch(51.13, 69.00, 138.33°)
OKLaboklab(56.18% -0.1396 0.1035)
OKLCHoklch(56.18% 0.174 143.4)
XYZxyz(10.2247, 19.3779, 4.6400)
Luminance0.1938 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A8D21 #8D1A86
analogous
#4D8D1A #1A8D21 #1A8D5A
triadic
#1A8D21 #211A8D #8D211A
tetradic
#1A8D21 #1A4D8D #8D1A86 #8D5A1A
square
#1A8D21 #1A4D8D #8D1A86 #8D5A1A
split-complementary
#1A8D21 #5A1A8D #8D1A4D
monochromatic
#072609 #105915 #1A8D21 #24C12D #45DD4E

Accessibility & contrast

On white

4.31
#1A8D21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#1A8D21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1A8D21
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A8D21#FFFFFF#000000##000000
##1A8D211.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F0A
Deuteranopia (green-blind)
#84762D
Tritanopia (blue-blind)
#008978
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #1a8d21;
/* rgb */ color: rgb(26, 141, 33);
/* oklch */ color: oklch(56.2% 0.174 143.4);
Tailwind
colors: {
  custom: {
    50: '#6eaf64',
    500: '#1a8d21',
    950: '#000000',
  },
}
SCSS
$custom: #1a8d21;
$custom-light: #6eaf64;
$custom-dark: #000000;
JSON
{
  "hex": "#1a8d21",
  "rgb": {
    "r": 26,
    "g": 141,
    "b": 33
  },
  "hsl": {
    "h": 123.652,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56181,
    "c": 0.17378,
    "h": 143.4
  },
  "luminance": 0.19379
}

Semantic roles & 50–950 ramp

primary
#1A8D21
secondary
#BE45B7
accent
#3CE1EC
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081106
muted
#7B807A

Preview Lab

Preview with #1A8D21

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

Preview Lab → · Contrast checker → · Palette generator →

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