#1A8A21#1A8A21

#1A8A21 is a mid, vivid green. Relative luminance 0.185; OKLCH L 55.3% C 0.170 H 143.5°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#1A8A21
RGBrgb(26, 138, 33)
HSLhsl(124, 68%, 32%)
HSVhsv(124, 81%, 54%)
CMYKcmyk(81.2%, 0%, 76.1%, 45.9%)
CIE-LABlab(50.10, -50.56, 44.85)
CIE-LCHlch(50.10, 67.59, 138.43°)
OKLaboklab(55.33% -0.1369 0.1014)
OKLCHoklch(55.33% 0.17 143.5)
XYZxyz(9.7884, 18.5052, 4.4945)
Luminance0.1851 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A8A21 #8A1A83
analogous
#4B8A1A #1A8A21 #1A8A59
triadic
#1A8A21 #211A8A #8A211A
tetradic
#1A8A21 #1A4B8A #8A1A83 #8A591A
square
#1A8A21 #1A4B8A #8A1A83 #8A591A
split-complementary
#1A8A21 #591A8A #8A1A4B
monochromatic
#072308 #105715 #1A8A21 #24BD2D #43DC4C

Accessibility & contrast

On white

4.47
#1A8A21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#1A8A21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1A8A21
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A8A21#FFFFFF#000000##000000
##1A8A211.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C0C
Deuteranopia (green-blind)
#81742C
Tritanopia (blue-blind)
#008676
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #1a8a21;
/* rgb */ color: rgb(26, 138, 33);
/* oklch */ color: oklch(55.3% 0.170 143.5);
Tailwind
colors: {
  custom: {
    50: '#6dad64',
    500: '#1a8a21',
    950: '#000000',
  },
}
SCSS
$custom: #1a8a21;
$custom-light: #6dad64;
$custom-dark: #000000;
JSON
{
  "hex": "#1a8a21",
  "rgb": {
    "r": 26,
    "g": 138,
    "b": 33
  },
  "hsl": {
    "h": 123.75,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.5533,
    "c": 0.17037,
    "h": 143.5
  },
  "luminance": 0.18506
}

Semantic roles & 50–950 ramp

primary
#1A8A21
secondary
#BD43B5
accent
#3DE0EB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #1A8A21

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

Preview Lab → · Contrast checker → · Palette generator →

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