#1A7B2C#1A7B2C

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

Color values

HEX#1A7B2C
RGBrgb(26, 123, 44)
HSLhsl(131, 65%, 29%)
HSVhsv(131, 79%, 48%)
CMYKcmyk(78.9%, 0%, 64.2%, 51.8%)
CIE-LABlab(45.03, -44.30, 34.71)
CIE-LCHlch(45.03, 56.27, 141.92°)
OKLaboklab(51.15% -0.1194 0.0813)
OKLCHoklch(51.15% 0.144 145.7)
XYZxyz(7.9630, 14.5664, 4.7743)
Luminance0.1457 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7B2C #7B1A69
analogous
#397B1A #1A7B2C #1A7B5D
triadic
#1A7B2C #2C1A7B #7B2C1A
tetradic
#1A7B2C #1A397B #7B1A69 #7B5D1A
square
#1A7B2C #1A397B #7B1A69 #7B5D1A
split-complementary
#1A7B2C #5D1A7B #7B1A39
monochromatic
#051909 #0F481A #1A7B2C #25AE3E #3AD557

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1A7B2C#FFFFFF#000000##FFFFFF
##1A7B2C1.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)
#7D6F23
Deuteranopia (green-blind)
#726833
Tritanopia (blue-blind)
#00786A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1a7b2c;
/* rgb */ color: rgb(26, 123, 44);
/* oklch */ color: oklch(51.1% 0.144 145.7);
Tailwind
colors: {
  custom: {
    50: '#68a268',
    500: '#1a7b2c',
    950: '#000000',
  },
}
SCSS
$custom: #1a7b2c;
$custom-light: #68a268;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7b2c",
  "rgb": {
    "r": 26,
    "g": 123,
    "b": 44
  },
  "hsl": {
    "h": 131.134,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51149,
    "c": 0.14448,
    "h": 145.7
  },
  "luminance": 0.14567
}

Semantic roles & 50–950 ramp

primary
#1A7B2C
secondary
#AF429B
accent
#40C9E8
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1A7B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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