#1A8538#1A8538

#1A8538 is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.2% C 0.147 H 147.7°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#1A8538
RGBrgb(26, 133, 56)
HSLhsl(137, 67%, 31%)
HSVhsv(137, 80%, 52%)
CMYKcmyk(80.5%, 0%, 57.9%, 47.8%)
CIE-LABlab(48.61, -46.23, 32.94)
CIE-LCHlch(48.61, 56.76, 144.53°)
OKLaboklab(54.16% -0.1243 0.0785)
OKLCHoklch(54.16% 0.147 147.7)
XYZxyz(9.5266, 17.2790, 6.5737)
Luminance0.1728 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A8538 #851A67
analogous
#31851A #1A8538 #1A856D
triadic
#1A8538 #381A85 #85381A
tetradic
#1A8538 #1A3185 #851A67 #856D1A
square
#1A8538 #1A3185 #851A67 #856D1A
split-complementary
#1A8538 #6D1A85 #851A31
monochromatic
#061F0D #105222 #1A8538 #24B84E #40DA6B

Accessibility & contrast

On white

4.71
#1A8538 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#1A8538 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A8538
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A8538#FFFFFF#000000##FFFFFF
##1A85381.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877931
Deuteranopia (green-blind)
#7B703E
Tritanopia (blue-blind)
#008274
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #1a8538;
/* rgb */ color: rgb(26, 133, 56);
/* oklch */ color: oklch(54.2% 0.147 147.7);
Tailwind
colors: {
  custom: {
    50: '#6aaa71',
    500: '#1a8538',
    950: '#000000',
  },
}
SCSS
$custom: #1a8538;
$custom-light: #6aaa71;
$custom-dark: #000000;
JSON
{
  "hex": "#1a8538",
  "rgb": {
    "r": 26,
    "g": 133,
    "b": 56
  },
  "hsl": {
    "h": 136.822,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54159,
    "c": 0.14702,
    "h": 147.7
  },
  "luminance": 0.1728
}

Semantic roles & 50–950 ramp

primary
#1A8538
secondary
#B84297
accent
#3EBAEA
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#081008
muted
#7A7F7B

Preview Lab

Preview with #1A8538

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

Preview Lab → · Contrast checker → · Palette generator →

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