#1A7B14#1A7B14

#1A7B14 is a mid, vivid green. Relative luminance 0.144; OKLCH L 50.9% C 0.160 H 142.2°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#1A7B14
RGBrgb(26, 123, 20)
HSLhsl(117, 72%, 28%)
HSVhsv(117, 84%, 48%)
CMYKcmyk(78.9%, 0%, 83.7%, 51.8%)
CIE-LABlab(44.85, -46.55, 44.20)
CIE-LCHlch(44.85, 64.19, 136.48°)
OKLaboklab(50.94% -0.1266 0.0982)
OKLCHoklch(50.94% 0.16 142.2)
XYZxyz(7.6348, 14.4351, 3.0456)
Luminance0.1444 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7B14 #75147B
analogous
#4D7B14 #1A7B14 #147B41
triadic
#1A7B14 #141A7B #7B141A
tetradic
#1A7B14 #144D7B #75147B #7B4114
square
#1A7B14 #144D7B #75147B #7B4114
split-complementary
#1A7B14 #41147B #7B144D
monochromatic
#061A04 #0F460B #1A7B14 #25B01D #37DD2D

Accessibility & contrast

On white

5.40
#1A7B14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1A7B14
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7B14#FFFFFF#000000##FFFFFF
##1A7B141.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#736721
Tritanopia (blue-blind)
#007768
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1a7b14;
/* rgb */ color: rgb(26, 123, 20);
/* oklch */ color: oklch(50.9% 0.160 142.2);
Tailwind
colors: {
  custom: {
    50: '#69a25c',
    500: '#1a7b14',
    950: '#000000',
  },
}
SCSS
$custom: #1a7b14;
$custom-light: #69a25c;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7b14",
  "rgb": {
    "r": 26,
    "g": 123,
    "b": 20
  },
  "hsl": {
    "h": 116.505,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50937,
    "c": 0.16024,
    "h": 142.2
  },
  "luminance": 0.14436
}

Semantic roles & 50–950 ramp

primary
#1A7B14
secondary
#AA3AB1
accent
#39EFE4
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F04
muted
#7A7F79

Preview Lab

Preview with #1A7B14

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

Preview Lab → · Contrast checker → · Palette generator →

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