#1A8730#1A8730

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

Color values

HEX#1A8730
RGBrgb(26, 135, 48)
HSLhsl(132, 68%, 32%)
HSVhsv(132, 81%, 53%)
CMYKcmyk(80.7%, 0%, 64.4%, 47.1%)
CIE-LABlab(49.20, -48.01, 37.53)
CIE-LCHlch(49.20, 60.94, 141.99°)
OKLaboklab(54.62% -0.1293 0.0878)
OKLCHoklch(54.62% 0.156 145.8)
XYZxyz(9.6228, 17.7598, 5.7166)
Luminance0.1776 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A8730 #871A71
analogous
#3B871A #1A8730 #1A8767
triadic
#1A8730 #301A87 #87301A
tetradic
#1A8730 #1A3B87 #871A71 #87671A
square
#1A8730 #1A3B87 #871A71 #87671A
split-complementary
#1A8730 #671A87 #871A3B
monochromatic
#06200C #10541E #1A8730 #24BA42 #41DA60

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1A8730#FFFFFF#000000##FFFFFF
##1A87301.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)
#897A26
Deuteranopia (green-blind)
#7D7238
Tritanopia (blue-blind)
#008475
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #1a8730;
/* rgb */ color: rgb(26, 135, 48);
/* oklch */ color: oklch(54.6% 0.156 145.8);
Tailwind
colors: {
  custom: {
    50: '#6bab6c',
    500: '#1a8730',
    950: '#000000',
  },
}
SCSS
$custom: #1a8730;
$custom-light: #6bab6c;
$custom-dark: #000000;
JSON
{
  "hex": "#1a8730",
  "rgb": {
    "r": 26,
    "g": 135,
    "b": 48
  },
  "hsl": {
    "h": 132.11,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54623,
    "c": 0.15631,
    "h": 145.8
  },
  "luminance": 0.17761
}

Semantic roles & 50–950 ramp

primary
#1A8730
secondary
#BA42A2
accent
#3DC8EB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #1A8730

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

Preview Lab → · Contrast checker → · Palette generator →

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