#1A7C2B#1A7C2B

#1A7C2B is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.4% C 0.147 H 145.5°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#1A7C2B
RGBrgb(26, 124, 43)
HSLhsl(130, 65%, 29%)
HSVhsv(130, 79%, 49%)
CMYKcmyk(79%, 0%, 65.3%, 51.4%)
CIE-LABlab(45.37, -44.78, 35.56)
CIE-LCHlch(45.37, 57.18, 141.54°)
OKLaboklab(51.43% -0.1207 0.0831)
OKLCHoklch(51.43% 0.147 145.5)
XYZxyz(8.0691, 14.8084, 4.7181)
Luminance0.1481 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7C2B #7C1A6B
analogous
#3A7C1A #1A7C2B #1A7C5C
triadic
#1A7C2B #2B1A7C #7C2B1A
tetradic
#1A7C2B #1A3A7C #7C1A6B #7C5C1A
square
#1A7C2B #1A3A7C #7C1A6B #7C5C1A
split-complementary
#1A7C2B #5C1A7C #7C1A3A
monochromatic
#051909 #0F4919 #1A7C2B #25AF3D #3BD656

Accessibility & contrast

On white

5.30
#1A7C2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#1A7C2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7C2B
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7C2B#FFFFFF#000000##FFFFFF
##1A7C2B1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7022
Deuteranopia (green-blind)
#736832
Tritanopia (blue-blind)
#00796B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1a7c2b;
/* rgb */ color: rgb(26, 124, 43);
/* oklch */ color: oklch(51.4% 0.147 145.5);
Tailwind
colors: {
  custom: {
    50: '#68a368',
    500: '#1a7c2b',
    950: '#000000',
  },
}
SCSS
$custom: #1a7c2b;
$custom-light: #68a368;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7c2b",
  "rgb": {
    "r": 26,
    "g": 124,
    "b": 43
  },
  "hsl": {
    "h": 130.408,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51425,
    "c": 0.14656,
    "h": 145.5
  },
  "luminance": 0.14809
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1A7C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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