#1A781F#1A781F

#1A781F is a mid, vivid green. Relative luminance 0.138; OKLCH L 50.1% C 0.150 H 143.5°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#1A781F
RGBrgb(26, 120, 31)
HSLhsl(123, 64%, 29%)
HSVhsv(123, 78%, 47%)
CMYKcmyk(78.3%, 0%, 74.2%, 52.9%)
CIE-LABlab(43.87, -44.68, 39.27)
CIE-LCHlch(43.87, 59.48, 138.68°)
OKLaboklab(50.15% -0.121 0.0895)
OKLCHoklch(50.15% 0.151 143.5)
XYZxyz(7.3893, 13.7506, 3.5608)
Luminance0.1375 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A781F #781A73
analogous
#44781A #1A781F #1A784E
triadic
#1A781F #1F1A78 #781F1A
tetradic
#1A781F #1A4478 #781A73 #784E1A
square
#1A781F #1A4478 #781A73 #784E1A
split-complementary
#1A781F #4E1A78 #781A44
monochromatic
#051906 #0F4612 #1A781F #25AA2C #38D441

Accessibility & contrast

On white

5.60
#1A781F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#1A781F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A781F
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A781F#FFFFFF#000000##FFFFFF
##1A781F1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C10
Deuteranopia (green-blind)
#706528
Tritanopia (blue-blind)
#007466
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #1a781f;
/* rgb */ color: rgb(26, 120, 31);
/* oklch */ color: oklch(50.1% 0.150 143.5);
Tailwind
colors: {
  custom: {
    50: '#68a060',
    500: '#1a781f',
    950: '#000000',
  },
}
SCSS
$custom: #1a781f;
$custom-light: #68a060;
$custom-dark: #000000;
JSON
{
  "hex": "#1a781f",
  "rgb": {
    "r": 26,
    "g": 120,
    "b": 31
  },
  "hsl": {
    "h": 123.191,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50147,
    "c": 0.1505,
    "h": 143.5
  },
  "luminance": 0.13751
}

Semantic roles & 50–950 ramp

primary
#1A781F
secondary
#AC41A7
accent
#40DFE7
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070F05
muted
#7A7E79

Preview Lab

Preview with #1A781F

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

Preview Lab → · Contrast checker → · Palette generator →

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