#1A8B20#1A8B20

#1A8B20 is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.6% C 0.172 H 143.4°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#1A8B20
RGBrgb(26, 139, 32)
HSLhsl(123, 68%, 32%)
HSVhsv(123, 81%, 55%)
CMYKcmyk(81.3%, 0%, 77%, 45.5%)
CIE-LABlab(50.44, -50.97, 45.55)
CIE-LCHlch(50.44, 68.36, 138.21°)
OKLaboklab(55.61% -0.1381 0.1027)
OKLCHoklch(55.61% 0.172 143.4)
XYZxyz(9.9187, 18.7879, 4.4699)
Luminance0.1879 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A8B20 #8B1A85
analogous
#4C8B1A #1A8B20 #1A8B59
triadic
#1A8B20 #201A8B #8B201A
tetradic
#1A8B20 #1A4C8B #8B1A85 #8B591A
square
#1A8B20 #1A4C8B #8B1A85 #8B591A
split-complementary
#1A8B20 #591A8B #8B1A4C
monochromatic
#072408 #105714 #1A8B20 #24BF2C #43DC4C

Accessibility & contrast

On white

4.41
#1A8B20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#1A8B20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1A8B20
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A8B20#FFFFFF#000000##000000
##1A8B201.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D09
Deuteranopia (green-blind)
#82752C
Tritanopia (blue-blind)
#008777
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #1a8b20;
/* rgb */ color: rgb(26, 139, 32);
/* oklch */ color: oklch(55.6% 0.172 143.4);
Tailwind
colors: {
  custom: {
    50: '#6dae63',
    500: '#1a8b20',
    950: '#000000',
  },
}
SCSS
$custom: #1a8b20;
$custom-light: #6dae63;
$custom-dark: #000000;
JSON
{
  "hex": "#1a8b20",
  "rgb": {
    "r": 26,
    "g": 139,
    "b": 32
  },
  "hsl": {
    "h": 123.186,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.55607,
    "c": 0.1721,
    "h": 143.4
  },
  "luminance": 0.18789
}

Semantic roles & 50–950 ramp

primary
#1A8B20
secondary
#BD44B7
accent
#3CE2EB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #1A8B20

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

Preview Lab → · Contrast checker → · Palette generator →

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