#1A7B2B#1A7B2B

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

Color values

HEX#1A7B2B
RGBrgb(26, 123, 43)
HSLhsl(131, 65%, 29%)
HSVhsv(131, 79%, 48%)
CMYKcmyk(78.9%, 0%, 65%, 51.8%)
CIE-LABlab(45.02, -44.42, 35.17)
CIE-LCHlch(45.02, 56.66, 141.63°)
OKLaboklab(51.14% -0.1198 0.0822)
OKLCHoklch(51.14% 0.145 145.5)
XYZxyz(7.9444, 14.5590, 4.6765)
Luminance0.1456 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7B2B #7B1A6A
analogous
#3A7B1A #1A7B2B #1A7B5C
triadic
#1A7B2B #2B1A7B #7B2B1A
tetradic
#1A7B2B #1A3A7B #7B1A6A #7B5C1A
square
#1A7B2B #1A3A7B #7B1A6A #7B5C1A
split-complementary
#1A7B2B #5C1A7B #7B1A3A
monochromatic
#051909 #0F4819 #1A7B2B #25AE3D #3AD555

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1A7B2B#FFFFFF#000000##FFFFFF
##1A7B2B1.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)
#7D6F22
Deuteranopia (green-blind)
#726832
Tritanopia (blue-blind)
#00786A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1a7b2b;
/* rgb */ color: rgb(26, 123, 43);
/* oklch */ color: oklch(51.1% 0.145 145.5);
Tailwind
colors: {
  custom: {
    50: '#68a268',
    500: '#1a7b2b',
    950: '#000000',
  },
}
SCSS
$custom: #1a7b2b;
$custom-light: #68a268;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7b2b",
  "rgb": {
    "r": 26,
    "g": 123,
    "b": 43
  },
  "hsl": {
    "h": 130.515,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51137,
    "c": 0.1453,
    "h": 145.5
  },
  "luminance": 0.1456
}

Semantic roles & 50–950 ramp

primary
#1A7B2B
secondary
#AF429C
accent
#40CBE8
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1A7B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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