#1A8A31#1A8A31

#1A8A31 is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.5% C 0.159 H 145.9°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#1A8A31
RGBrgb(26, 138, 49)
HSLhsl(132, 68%, 32%)
HSVhsv(132, 81%, 54%)
CMYKcmyk(81.2%, 0%, 64.5%, 45.9%)
CIE-LABlab(50.24, -48.92, 38.23)
CIE-LCHlch(50.24, 62.09, 142.00°)
OKLaboklab(55.48% -0.1318 0.0894)
OKLCHoklch(55.48% 0.159 145.9)
XYZxyz(10.0681, 18.6171, 5.9680)
Luminance0.1862 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A8A31 #8A1A73
analogous
#3B8A1A #1A8A31 #1A8A69
triadic
#1A8A31 #311A8A #8A311A
tetradic
#1A8A31 #1A3B8A #8A1A73 #8A691A
square
#1A8A31 #1A3B8A #8A1A73 #8A691A
split-complementary
#1A8A31 #691A8A #8A1A3B
monochromatic
#07230C #10571F #1A8A31 #24BD43 #43DC62

Accessibility & contrast

On white

4.45
#1A8A31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#1A8A31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1A8A31
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A8A31#FFFFFF#000000##000000
##1A8A311.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7D27
Deuteranopia (green-blind)
#807439
Tritanopia (blue-blind)
#008677
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #1a8a31;
/* rgb */ color: rgb(26, 138, 49);
/* oklch */ color: oklch(55.5% 0.159 145.9);
Tailwind
colors: {
  custom: {
    50: '#6cad6d',
    500: '#1a8a31',
    950: '#000000',
  },
}
SCSS
$custom: #1a8a31;
$custom-light: #6cad6d;
$custom-dark: #000000;
JSON
{
  "hex": "#1a8a31",
  "rgb": {
    "r": 26,
    "g": 138,
    "b": 49
  },
  "hsl": {
    "h": 132.321,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.55483,
    "c": 0.15922,
    "h": 145.9
  },
  "luminance": 0.18618
}

Semantic roles & 50–950 ramp

primary
#1A8A31
secondary
#BD43A4
accent
#3DC7EB
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #1A8A31

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

Preview Lab → · Contrast checker → · Palette generator →

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