#17781A#17781A

#17781A is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.0% C 0.154 H 143.1°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#17781A
RGBrgb(23, 120, 26)
HSLhsl(122, 68%, 28%)
HSVhsv(122, 81%, 47%)
CMYKcmyk(80.8%, 0%, 78.3%, 52.9%)
CIE-LABlab(43.78, -45.58, 41.12)
CIE-LCHlch(43.78, 61.39, 137.95°)
OKLaboklab(50.04% -0.1236 0.0926)
OKLCHoklch(50.04% 0.154 143.1)
XYZxyz(7.2558, 13.6888, 3.2369)
Luminance0.1369 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17781A #781775
analogous
#447817 #17781A #17784A
triadic
#17781A #1A1778 #781A17
tetradic
#17781A #174478 #781775 #784A17
square
#17781A #174478 #781775 #784A17
split-complementary
#17781A #4A1778 #781744
monochromatic
#051A06 #0D450F #17781A #21AB25 #32D837

Accessibility & contrast

On white

5.62
#17781A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#17781A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #17781A
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17781A#FFFFFF#000000##FFFFFF
##17781A1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C06
Deuteranopia (green-blind)
#706524
Tritanopia (blue-blind)
#007466
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #17781a;
/* rgb */ color: rgb(23, 120, 26);
/* oklch */ color: oklch(50.0% 0.154 143.1);
Tailwind
colors: {
  custom: {
    50: '#67a05e',
    500: '#17781a',
    950: '#000000',
  },
}
SCSS
$custom: #17781a;
$custom-light: #67a05e;
$custom-dark: #000000;
JSON
{
  "hex": "#17781a",
  "rgb": {
    "r": 23,
    "g": 120,
    "b": 26
  },
  "hsl": {
    "h": 121.856,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50045,
    "c": 0.15445,
    "h": 143.1
  },
  "luminance": 0.1369
}

Semantic roles & 50–950 ramp

primary
#17781A
secondary
#AD3EAA
accent
#3DE5EB
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070F05
muted
#7A7E79

Preview Lab

Preview with #17781A

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

Preview Lab → · Contrast checker → · Palette generator →

#17781A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva