#1A7B2A#1A7B2A

#1A7B2A is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.1% C 0.146 H 145.3°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#1A7B2A
RGBrgb(26, 123, 42)
HSLhsl(130, 65%, 29%)
HSVhsv(130, 79%, 48%)
CMYKcmyk(78.9%, 0%, 65.9%, 51.8%)
CIE-LABlab(45.01, -44.54, 35.64)
CIE-LCHlch(45.01, 57.04, 141.34°)
OKLaboklab(51.13% -0.1202 0.0831)
OKLCHoklch(51.13% 0.146 145.3)
XYZxyz(7.9263, 14.5518, 4.5811)
Luminance0.1455 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7B2A #7B1A6B
analogous
#3B7B1A #1A7B2A #1A7B5B
triadic
#1A7B2A #2A1A7B #7B2A1A
tetradic
#1A7B2A #1A3B7B #7B1A6B #7B5B1A
square
#1A7B2A #1A3B7B #7B1A6B #7B5B1A
split-complementary
#1A7B2A #5B1A7B #7B1A3B
monochromatic
#051909 #0F4819 #1A7B2A #25AE3B #3AD554

Accessibility & contrast

On white

5.37
#1A7B2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#1A7B2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7B2A
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7B2A#FFFFFF#000000##FFFFFF
##1A7B2A1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F20
Deuteranopia (green-blind)
#726831
Tritanopia (blue-blind)
#00786A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1a7b2a;
/* rgb */ color: rgb(26, 123, 42);
/* oklch */ color: oklch(51.1% 0.146 145.3);
Tailwind
colors: {
  custom: {
    50: '#68a267',
    500: '#1a7b2a',
    950: '#000000',
  },
}
SCSS
$custom: #1a7b2a;
$custom-light: #68a267;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7b2a",
  "rgb": {
    "r": 26,
    "g": 123,
    "b": 42
  },
  "hsl": {
    "h": 129.897,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51126,
    "c": 0.14611,
    "h": 145.3
  },
  "luminance": 0.14553
}

Semantic roles & 50–950 ramp

primary
#1A7B2A
secondary
#AF429D
accent
#40CCE8
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1A7B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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