#1A7B2E#1A7B2E

#1A7B2E is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.2% C 0.143 H 146.2°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#1A7B2E
RGBrgb(26, 123, 46)
HSLhsl(132, 65%, 29%)
HSVhsv(132, 79%, 48%)
CMYKcmyk(78.9%, 0%, 62.6%, 51.8%)
CIE-LABlab(45.06, -44.04, 33.76)
CIE-LCHlch(45.06, 55.49, 142.53°)
OKLaboklab(51.17% -0.1186 0.0795)
OKLCHoklch(51.17% 0.143 146.2)
XYZxyz(8.0015, 14.5818, 4.9771)
Luminance0.1458 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7B2E #7B1A67
analogous
#377B1A #1A7B2E #1A7B5F
triadic
#1A7B2E #2E1A7B #7B2E1A
tetradic
#1A7B2E #1A377B #7B1A67 #7B5F1A
square
#1A7B2E #1A377B #7B1A67 #7B5F1A
split-complementary
#1A7B2E #5F1A7B #7B1A37
monochromatic
#051909 #0F481B #1A7B2E #25AE41 #3AD55A

Accessibility & contrast

On white

5.36
#1A7B2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#1A7B2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7B2E
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7B2E#FFFFFF#000000##FFFFFF
##1A7B2E1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F26
Deuteranopia (green-blind)
#726834
Tritanopia (blue-blind)
#00786A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1a7b2e;
/* rgb */ color: rgb(26, 123, 46);
/* oklch */ color: oklch(51.2% 0.143 146.2);
Tailwind
colors: {
  custom: {
    50: '#68a26a',
    500: '#1a7b2e',
    950: '#000000',
  },
}
SCSS
$custom: #1a7b2e;
$custom-light: #68a26a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7b2e",
  "rgb": {
    "r": 26,
    "g": 123,
    "b": 46
  },
  "hsl": {
    "h": 132.371,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51174,
    "c": 0.1428,
    "h": 146.2
  },
  "luminance": 0.14583
}

Semantic roles & 50–950 ramp

primary
#1A7B2E
secondary
#AF4299
accent
#40C5E8
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1A7B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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