#1A7B2F#1A7B2F

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

Color values

HEX#1A7B2F
RGBrgb(26, 123, 47)
HSLhsl(133, 65%, 29%)
HSVhsv(133, 79%, 48%)
CMYKcmyk(78.9%, 0%, 61.8%, 51.8%)
CIE-LABlab(45.07, -43.90, 33.28)
CIE-LCHlch(45.07, 55.09, 142.84°)
OKLaboklab(51.19% -0.1182 0.0786)
OKLCHoklch(51.19% 0.142 146.4)
XYZxyz(8.0215, 14.5898, 5.0821)
Luminance0.1459 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7B2F #7B1A66
analogous
#357B1A #1A7B2F #1A7B60
triadic
#1A7B2F #2F1A7B #7B2F1A
tetradic
#1A7B2F #1A357B #7B1A66 #7B601A
square
#1A7B2F #1A357B #7B1A66 #7B601A
split-complementary
#1A7B2F #601A7B #7B1A35
monochromatic
#05190A #0F481C #1A7B2F #25AE42 #3AD55C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1A7B2F#FFFFFF#000000##FFFFFF
##1A7B2F1.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)
#7D6F27
Deuteranopia (green-blind)
#726835
Tritanopia (blue-blind)
#00786B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1a7b2f;
/* rgb */ color: rgb(26, 123, 47);
/* oklch */ color: oklch(51.2% 0.142 146.4);
Tailwind
colors: {
  custom: {
    50: '#68a26a',
    500: '#1a7b2f',
    950: '#000000',
  },
}
SCSS
$custom: #1a7b2f;
$custom-light: #68a26a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7b2f",
  "rgb": {
    "r": 26,
    "g": 123,
    "b": 47
  },
  "hsl": {
    "h": 132.99,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51187,
    "c": 0.14195,
    "h": 146.4
  },
  "luminance": 0.14591
}

Semantic roles & 50–950 ramp

primary
#1A7B2F
secondary
#AF4298
accent
#40C4E8
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #1A7B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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