#17781F#17781F

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

Color values

HEX#17781F
RGBrgb(23, 120, 31)
HSLhsl(125, 68%, 28%)
HSVhsv(125, 81%, 47%)
CMYKcmyk(80.8%, 0%, 74.2%, 52.9%)
CIE-LABlab(43.82, -45.14, 39.20)
CIE-LCHlch(43.82, 59.79, 139.03°)
OKLaboklab(50.09% -0.1221 0.0893)
OKLCHoklch(50.09% 0.151 143.8)
XYZxyz(7.3167, 13.7132, 3.5574)
Luminance0.1371 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17781F #781770
analogous
#407817 #17781F #17784F
triadic
#17781F #1F1778 #781F17
tetradic
#17781F #174078 #781770 #784F17
square
#17781F #174078 #781770 #784F17
split-complementary
#17781F #4F1778 #781740
monochromatic
#051A07 #0D4512 #17781F #21AB2C #32D83F

Accessibility & contrast

On white

5.61
#17781F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #17781F
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17781F#FFFFFF#000000##FFFFFF
##17781F1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C10
Deuteranopia (green-blind)
#706528
Tritanopia (blue-blind)
#007466
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #17781f;
/* rgb */ color: rgb(23, 120, 31);
/* oklch */ color: oklch(50.1% 0.151 143.8);
Tailwind
colors: {
  custom: {
    50: '#67a060',
    500: '#17781f',
    950: '#000000',
  },
}
SCSS
$custom: #17781f;
$custom-light: #67a060;
$custom-dark: #000000;
JSON
{
  "hex": "#17781f",
  "rgb": {
    "r": 23,
    "g": 120,
    "b": 31
  },
  "hsl": {
    "h": 124.948,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50086,
    "c": 0.15133,
    "h": 143.8
  },
  "luminance": 0.13714
}

Semantic roles & 50–950 ramp

primary
#17781F
secondary
#AD3EA4
accent
#3DDCEB
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#070F05
muted
#7A7E79

Preview Lab

Preview with #17781F

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

Preview Lab → · Contrast checker → · Palette generator →

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