#17791B#17791B

#17791B is a mid, vivid green. Relative luminance 0.139; OKLCH L 50.3% C 0.155 H 143.3°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#17791B
RGBrgb(23, 121, 27)
HSLhsl(122, 68%, 28%)
HSVhsv(122, 81%, 47%)
CMYKcmyk(81%, 0%, 77.7%, 52.5%)
CIE-LABlab(44.14, -45.84, 41.10)
CIE-LCHlch(44.14, 61.56, 138.12°)
OKLaboklab(50.34% -0.1242 0.0927)
OKLCHoklch(50.34% 0.155 143.3)
XYZxyz(7.3881, 13.9352, 3.3371)
Luminance0.1394 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17791B #791775
analogous
#447917 #17791B #17794C
triadic
#17791B #1B1779 #791B17
tetradic
#17791B #174479 #791775 #794C17
square
#17791B #174479 #791775 #794C17
split-complementary
#17791B #4C1779 #791744
monochromatic
#051A06 #0D4610 #17791B #21AC26 #32D839

Accessibility & contrast

On white

5.54
#17791B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#17791B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #17791B
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17791B#FFFFFF#000000##FFFFFF
##17791B1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D08
Deuteranopia (green-blind)
#716625
Tritanopia (blue-blind)
#007567
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #17791b;
/* rgb */ color: rgb(23, 121, 27);
/* oklch */ color: oklch(50.3% 0.155 143.3);
Tailwind
colors: {
  custom: {
    50: '#68a15e',
    500: '#17791b',
    950: '#000000',
  },
}
SCSS
$custom: #17791b;
$custom-light: #68a15e;
$custom-dark: #000000;
JSON
{
  "hex": "#17791b",
  "rgb": {
    "r": 23,
    "g": 121,
    "b": 27
  },
  "hsl": {
    "h": 122.449,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50344,
    "c": 0.15503,
    "h": 143.3
  },
  "luminance": 0.13936
}

Semantic roles & 50–950 ramp

primary
#17791B
secondary
#AE3EA9
accent
#3DE4EB
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #17791B

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

Preview Lab → · Contrast checker → · Palette generator →

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