#1A7F16#1A7F16

#1A7F16 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.1% C 0.164 H 142.4°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#1A7F16
RGBrgb(26, 127, 22)
HSLhsl(118, 70%, 29%)
HSVhsv(118, 83%, 50%)
CMYKcmyk(79.5%, 0%, 82.7%, 50.2%)
CIE-LABlab(46.25, -47.75, 44.90)
CIE-LCHlch(46.25, 65.55, 136.77°)
OKLaboklab(52.11% -0.1298 0.0999)
OKLCHoklch(52.11% 0.164 142.4)
XYZxyz(8.1597, 15.4553, 3.3120)
Luminance0.1546 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7F16 #7B167F
analogous
#4F7F16 #1A7F16 #167F47
triadic
#1A7F16 #161A7F #7F161A
tetradic
#1A7F16 #164F7F #7B167F #7F4716
square
#1A7F16 #164F7F #7B167F #7F4716
split-complementary
#1A7F16 #47167F #7F164F
monochromatic
#051A05 #0F4B0D #1A7F16 #25B31F #3ADC34

Accessibility & contrast

On white

5.13
#1A7F16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#1A7F16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7F16
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7F16#FFFFFF#000000##FFFFFF
##1A7F161.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#776B23
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1a7f16;
/* rgb */ color: rgb(26, 127, 22);
/* oklch */ color: oklch(52.1% 0.164 142.4);
Tailwind
colors: {
  custom: {
    50: '#6aa55d',
    500: '#1a7f16',
    950: '#000000',
  },
}
SCSS
$custom: #1a7f16;
$custom-light: #6aa55d;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7f16",
  "rgb": {
    "r": 26,
    "g": 127,
    "b": 22
  },
  "hsl": {
    "h": 117.714,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52106,
    "c": 0.16381,
    "h": 142.4
  },
  "luminance": 0.15456
}

Semantic roles & 50–950 ramp

primary
#1A7F16
secondary
#AF3DB4
accent
#3BEDE6
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #1A7F16

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

Preview Lab → · Contrast checker → · Palette generator →

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