#1A8520#1A8520

#1A8520 is a mid, vivid green. Relative luminance 0.171; OKLCH L 53.9% C 0.165 H 143.4°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#1A8520
RGBrgb(26, 133, 32)
HSLhsl(123, 67%, 31%)
HSVhsv(123, 80%, 52%)
CMYKcmyk(80.5%, 0%, 75.9%, 47.8%)
CIE-LABlab(48.38, -49.00, 43.49)
CIE-LCHlch(48.38, 65.52, 138.41°)
OKLaboklab(53.9% -0.1327 0.0984)
OKLCHoklch(53.9% 0.165 143.4)
XYZxyz(9.0736, 17.0979, 4.1882)
Luminance0.1710 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A8520 #851A7F
analogous
#49851A #1A8520 #1A8555
triadic
#1A8520 #201A85 #85201A
tetradic
#1A8520 #1A4985 #851A7F #85551A
square
#1A8520 #1A4985 #851A7F #85551A
split-complementary
#1A8520 #551A85 #851A49
monochromatic
#061F07 #105214 #1A8520 #24B82C #40DA48

Accessibility & contrast

On white

4.75
#1A8520 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#1A8520 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A8520
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A8520#FFFFFF#000000##FFFFFF
##1A85201.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#88780D
Deuteranopia (green-blind)
#7C702B
Tritanopia (blue-blind)
#008171
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #1a8520;
/* rgb */ color: rgb(26, 133, 32);
/* oklch */ color: oklch(53.9% 0.165 143.4);
Tailwind
colors: {
  custom: {
    50: '#6baa63',
    500: '#1a8520',
    950: '#000000',
  },
}
SCSS
$custom: #1a8520;
$custom-light: #6baa63;
$custom-dark: #000000;
JSON
{
  "hex": "#1a8520",
  "rgb": {
    "r": 26,
    "g": 133,
    "b": 32
  },
  "hsl": {
    "h": 123.364,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.53898,
    "c": 0.16522,
    "h": 143.4
  },
  "luminance": 0.17099
}

Semantic roles & 50–950 ramp

primary
#1A8520
secondary
#B842B2
accent
#3EE1EA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #1A8520

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

Preview Lab → · Contrast checker → · Palette generator →

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