#17781C#17781C

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

Color values

HEX#17781C
RGBrgb(23, 120, 28)
HSLhsl(123, 68%, 28%)
HSVhsv(123, 81%, 47%)
CMYKcmyk(80.8%, 0%, 76.7%, 52.9%)
CIE-LABlab(43.80, -45.41, 40.37)
CIE-LCHlch(43.80, 60.77, 138.36°)
OKLaboklab(50.06% -0.123 0.0914)
OKLCHoklch(50.06% 0.153 143.4)
XYZxyz(7.2789, 13.6981, 3.3588)
Luminance0.1370 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17781C #781773
analogous
#427817 #17781C #17784C
triadic
#17781C #1C1778 #781C17
tetradic
#17781C #174278 #781773 #784C17
square
#17781C #174278 #781773 #784C17
split-complementary
#17781C #4C1778 #781742
monochromatic
#051A06 #0D4510 #17781C #21AB28 #32D83A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##17781C#FFFFFF#000000##FFFFFF
##17781C1.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)
#7B6C0A
Deuteranopia (green-blind)
#706526
Tritanopia (blue-blind)
#007466
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #17781c;
/* rgb */ color: rgb(23, 120, 28);
/* oklch */ color: oklch(50.1% 0.153 143.4);
Tailwind
colors: {
  custom: {
    50: '#67a05f',
    500: '#17781c',
    950: '#000000',
  },
}
SCSS
$custom: #17781c;
$custom-light: #67a05f;
$custom-dark: #000000;
JSON
{
  "hex": "#17781c",
  "rgb": {
    "r": 23,
    "g": 120,
    "b": 28
  },
  "hsl": {
    "h": 123.093,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50061,
    "c": 0.15325,
    "h": 143.4
  },
  "luminance": 0.13699
}

Semantic roles & 50–950 ramp

primary
#17781C
secondary
#AD3EA7
accent
#3DE2EB
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070F05
muted
#7A7E79

Preview Lab

Preview with #17781C

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

Preview Lab → · Contrast checker → · Palette generator →

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