#17781B#17781B

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

Color values

HEX#17781B
RGBrgb(23, 120, 27)
HSLhsl(122, 68%, 28%)
HSVhsv(122, 81%, 47%)
CMYKcmyk(80.8%, 0%, 77.5%, 52.9%)
CIE-LABlab(43.79, -45.50, 40.75)
CIE-LCHlch(43.79, 61.08, 138.15°)
OKLaboklab(50.05% -0.1233 0.092)
OKLCHoklch(50.05% 0.154 143.3)
XYZxyz(7.2672, 13.6934, 3.2968)
Luminance0.1369 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17781B #781774
analogous
#437817 #17781B #17784B
triadic
#17781B #1B1778 #781B17
tetradic
#17781B #174378 #781774 #784B17
square
#17781B #174378 #781774 #784B17
split-complementary
#17781B #4B1778 #781743
monochromatic
#051A06 #0D450F #17781B #21AB27 #32D839

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##17781B#FFFFFF#000000##FFFFFF
##17781B1.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)
#7B6C08
Deuteranopia (green-blind)
#706525
Tritanopia (blue-blind)
#007466
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #17781b;
/* rgb */ color: rgb(23, 120, 27);
/* oklch */ color: oklch(50.1% 0.154 143.3);
Tailwind
colors: {
  custom: {
    50: '#67a05e',
    500: '#17781b',
    950: '#000000',
  },
}
SCSS
$custom: #17781b;
$custom-light: #67a05e;
$custom-dark: #000000;
JSON
{
  "hex": "#17781b",
  "rgb": {
    "r": 23,
    "g": 120,
    "b": 27
  },
  "hsl": {
    "h": 122.474,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50053,
    "c": 0.15385,
    "h": 143.3
  },
  "luminance": 0.13694
}

Semantic roles & 50–950 ramp

primary
#17781B
secondary
#AD3EA9
accent
#3DE4EB
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070F05
muted
#7A7E79

Preview Lab

Preview with #17781B

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

Preview Lab → · Contrast checker → · Palette generator →

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