#1A7B1B#1A7B1B

#1A7B1B is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.0% C 0.157 H 143.0°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#1A7B1B
RGBrgb(26, 123, 27)
HSLhsl(121, 65%, 29%)
HSVhsv(121, 79%, 48%)
CMYKcmyk(78.9%, 0%, 78%, 51.8%)
CIE-LABlab(44.89, -46.05, 41.87)
CIE-LCHlch(44.89, 62.24, 137.73°)
OKLaboklab(50.98% -0.125 0.0943)
OKLCHoklch(50.98% 0.157 143)
XYZxyz(7.7063, 14.4638, 3.4223)
Luminance0.1447 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7B1B #7B1A7A
analogous
#4A7B1A #1A7B1B #1A7B4C
triadic
#1A7B1B #1B1A7B #7B1B1A
tetradic
#1A7B1B #1A4A7B #7B1A7A #7B4C1A
square
#1A7B1B #1A4A7B #7B1A7A #7B4C1A
split-complementary
#1A7B1B #4C1A7B #7B1A4A
monochromatic
#051906 #0F4810 #1A7B1B #25AE26 #3AD53C

Accessibility & contrast

On white

5.39
#1A7B1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#1A7B1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7B1B
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7B1B#FFFFFF#000000##FFFFFF
##1A7B1B1.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a7b1b;
/* rgb */ color: rgb(26, 123, 27);
/* oklch */ color: oklch(51.0% 0.157 143.0);
Tailwind
colors: {
  custom: {
    50: '#69a25f',
    500: '#1a7b1b',
    950: '#000000',
  },
}
SCSS
$custom: #1a7b1b;
$custom-light: #69a25f;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7b1b",
  "rgb": {
    "r": 26,
    "g": 123,
    "b": 27
  },
  "hsl": {
    "h": 120.619,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.50984,
    "c": 0.15656,
    "h": 143
  },
  "luminance": 0.14465
}

Semantic roles & 50–950 ramp

primary
#1A7B1B
secondary
#AF42AE
accent
#40E6E8
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #1A7B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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