#1A7A2B#1A7A2B

#1A7A2B is a mid, vivid green. Relative luminance 0.143; OKLCH L 50.8% C 0.144 H 145.6°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#1A7A2B
RGBrgb(26, 122, 43)
HSLhsl(131, 65%, 29%)
HSVhsv(131, 79%, 48%)
CMYKcmyk(78.7%, 0%, 64.8%, 52.2%)
CIE-LABlab(44.68, -44.06, 34.78)
CIE-LCHlch(44.68, 56.14, 141.72°)
OKLaboklab(50.85% -0.1188 0.0814)
OKLCHoklch(50.85% 0.144 145.6)
XYZxyz(7.8210, 14.3122, 4.6354)
Luminance0.1431 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7A2B #7A1A69
analogous
#397A1A #1A7A2B #1A7A5B
triadic
#1A7A2B #2B1A7A #7A2B1A
tetradic
#1A7A2B #1A397A #7A1A69 #7A5B1A
square
#1A7A2B #1A397A #7A1A69 #7A5B1A
split-complementary
#1A7A2B #5B1A7A #7A1A39
monochromatic
#051909 #0F4819 #1A7A2B #25AC3D #39D555

Accessibility & contrast

On white

5.44
#1A7A2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#1A7A2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7A2B
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7A2B#FFFFFF#000000##FFFFFF
##1A7A2B1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E22
Deuteranopia (green-blind)
#716732
Tritanopia (blue-blind)
#007769
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1a7a2b;
/* rgb */ color: rgb(26, 122, 43);
/* oklch */ color: oklch(50.8% 0.144 145.6);
Tailwind
colors: {
  custom: {
    50: '#68a168',
    500: '#1a7a2b',
    950: '#000000',
  },
}
SCSS
$custom: #1a7a2b;
$custom-light: #68a168;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7a2b",
  "rgb": {
    "r": 26,
    "g": 122,
    "b": 43
  },
  "hsl": {
    "h": 130.625,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.50849,
    "c": 0.14403,
    "h": 145.6
  },
  "luminance": 0.14313
}

Semantic roles & 50–950 ramp

primary
#1A7A2B
secondary
#AE419B
accent
#40CAE8
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1A7A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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