#1A8A22#1A8A22

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

Color values

HEX#1A8A22
RGBrgb(26, 138, 34)
HSLhsl(124, 68%, 32%)
HSVhsv(124, 81%, 54%)
CMYKcmyk(81.2%, 0%, 75.4%, 45.9%)
CIE-LABlab(50.11, -50.48, 44.48)
CIE-LCHlch(50.11, 67.28, 138.61°)
OKLaboklab(55.34% -0.1366 0.1008)
OKLCHoklch(55.34% 0.17 143.6)
XYZxyz(9.8026, 18.5109, 4.5694)
Luminance0.1851 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A8A22 #8A1A82
analogous
#4A8A1A #1A8A22 #1A8A5A
triadic
#1A8A22 #221A8A #8A221A
tetradic
#1A8A22 #1A4A8A #8A1A82 #8A5A1A
square
#1A8A22 #1A4A8A #8A1A82 #8A5A1A
split-complementary
#1A8A22 #5A1A8A #8A1A4A
monochromatic
#072309 #105715 #1A8A22 #24BD2F #43DC4E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1A8A22#FFFFFF#000000##000000
##1A8A221.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)
#8D7C0E
Deuteranopia (green-blind)
#81742D
Tritanopia (blue-blind)
#008676
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #1a8a22;
/* rgb */ color: rgb(26, 138, 34);
/* oklch */ color: oklch(55.3% 0.170 143.6);
Tailwind
colors: {
  custom: {
    50: '#6dad64',
    500: '#1a8a22',
    950: '#000000',
  },
}
SCSS
$custom: #1a8a22;
$custom-light: #6dad64;
$custom-dark: #000000;
JSON
{
  "hex": "#1a8a22",
  "rgb": {
    "r": 26,
    "g": 138,
    "b": 34
  },
  "hsl": {
    "h": 124.286,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.55338,
    "c": 0.16978,
    "h": 143.6
  },
  "luminance": 0.18512
}

Semantic roles & 50–950 ramp

primary
#1A8A22
secondary
#BD43B4
accent
#3DDFEB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #1A8A22

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

Preview Lab → · Contrast checker → · Palette generator →

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