#1A7B16#1A7B16

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

Color values

HEX#1A7B16
RGBrgb(26, 123, 22)
HSLhsl(118, 70%, 28%)
HSVhsv(118, 82%, 48%)
CMYKcmyk(78.9%, 0%, 82.1%, 51.8%)
CIE-LABlab(44.86, -46.42, 43.58)
CIE-LCHlch(44.86, 63.67, 136.81°)
OKLaboklab(50.95% -0.1262 0.0972)
OKLCHoklch(50.95% 0.159 142.4)
XYZxyz(7.6533, 14.4426, 3.1432)
Luminance0.1444 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7B16 #77167B
analogous
#4C7B16 #1A7B16 #167B44
triadic
#1A7B16 #161A7B #7B161A
tetradic
#1A7B16 #164C7B #77167B #7B4416
square
#1A7B16 #164C7B #77167B #7B4416
split-complementary
#1A7B16 #44167B #7B164C
monochromatic
#051A05 #0F470D #1A7B16 #25AF1F #38DA31

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1A7B16#FFFFFF#000000##FFFFFF
##1A7B161.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)
#736722
Tritanopia (blue-blind)
#007768
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1a7b16;
/* rgb */ color: rgb(26, 123, 22);
/* oklch */ color: oklch(50.9% 0.159 142.4);
Tailwind
colors: {
  custom: {
    50: '#69a25c',
    500: '#1a7b16',
    950: '#000000',
  },
}
SCSS
$custom: #1a7b16;
$custom-light: #69a25c;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7b16",
  "rgb": {
    "r": 26,
    "g": 123,
    "b": 22
  },
  "hsl": {
    "h": 117.624,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50949,
    "c": 0.15927,
    "h": 142.4
  },
  "luminance": 0.14443
}

Semantic roles & 50–950 ramp

primary
#1A7B16
secondary
#AC3DB0
accent
#3BECE5
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F04
muted
#7A7F79

Preview Lab

Preview with #1A7B16

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

Preview Lab → · Contrast checker → · Palette generator →

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