#1A8731#1A8731

#1A8731 is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.6% C 0.156 H 146.0°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#1A8731
RGBrgb(26, 135, 49)
HSLhsl(133, 68%, 32%)
HSVhsv(133, 81%, 53%)
CMYKcmyk(80.7%, 0%, 63.7%, 47.1%)
CIE-LABlab(49.21, -47.89, 37.07)
CIE-LCHlch(49.21, 60.56, 142.26°)
OKLaboklab(54.63% -0.129 0.0869)
OKLCHoklch(54.63% 0.156 146)
XYZxyz(9.6436, 17.7681, 5.8265)
Luminance0.1777 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A8731 #871A70
analogous
#39871A #1A8731 #1A8768
triadic
#1A8731 #311A87 #87311A
tetradic
#1A8731 #1A3987 #871A70 #87681A
square
#1A8731 #1A3987 #871A70 #87681A
split-complementary
#1A8731 #681A87 #871A39
monochromatic
#06200C #10541E #1A8731 #24BA44 #41DA61

Accessibility & contrast

On white

4.61
#1A8731 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#1A8731 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #1A8731
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A8731#FFFFFF#000000##FFFFFF
##1A87311.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897A27
Deuteranopia (green-blind)
#7D7238
Tritanopia (blue-blind)
#008475
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #1a8731;
/* rgb */ color: rgb(26, 135, 49);
/* oklch */ color: oklch(54.6% 0.156 146.0);
Tailwind
colors: {
  custom: {
    50: '#6bab6c',
    500: '#1a8731',
    950: '#000000',
  },
}
SCSS
$custom: #1a8731;
$custom-light: #6bab6c;
$custom-dark: #000000;
JSON
{
  "hex": "#1a8731",
  "rgb": {
    "r": 26,
    "g": 135,
    "b": 49
  },
  "hsl": {
    "h": 132.661,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54634,
    "c": 0.15551,
    "h": 146
  },
  "luminance": 0.17769
}

Semantic roles & 50–950 ramp

primary
#1A8731
secondary
#BA42A1
accent
#3DC6EB
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #1A8731

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

Preview Lab → · Contrast checker → · Palette generator →

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