#17662A#17662A

#17662A is a dark, moderate green. Relative luminance 0.099; OKLCH L 44.9% C 0.119 H 147.3°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#17662A
RGBrgb(23, 102, 42)
HSLhsl(134, 63%, 25%)
HSVhsv(134, 77%, 40%)
CMYKcmyk(77.5%, 0%, 58.8%, 60%)
CIE-LABlab(37.57, -37.27, 27.01)
CIE-LCHlch(37.57, 46.03, 144.07°)
OKLaboklab(44.94% -0.1003 0.0645)
OKLCHoklch(44.94% 0.119 147.3)
XYZxyz(5.5222, 9.8514, 3.8005)
Luminance0.0985 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17662A #661753
analogous
#2C6617 #17662A #176652
triadic
#17662A #2A1766 #662A17
tetradic
#17662A #172C66 #661753 #665217
square
#17662A #172C66 #661753 #665217
split-complementary
#17662A #521766 #66172C
monochromatic
#06190A #0C3415 #17662A #22983F #2ECA53

Accessibility & contrast

On white

7.07
#17662A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#17662A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17662A
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17662A#FFFFFF#000000##FFFFFF
##17662A1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675C24
Deuteranopia (green-blind)
#5E562F
Tritanopia (blue-blind)
#006459
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #17662a;
/* rgb */ color: rgb(23, 102, 42);
/* oklch */ color: oklch(44.9% 0.119 147.3);
Tailwind
colors: {
  custom: {
    50: '#629265',
    500: '#17662a',
    950: '#000000',
  },
}
SCSS
$custom: #17662a;
$custom-light: #629265;
$custom-dark: #000000;
JSON
{
  "hex": "#17662a",
  "rgb": {
    "r": 23,
    "g": 102,
    "b": 42
  },
  "hsl": {
    "h": 134.43,
    "s": 63.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.44941,
    "c": 0.11929,
    "h": 147.3
  },
  "luminance": 0.09852
}

Semantic roles & 50–950 ramp

primary
#17662A
secondary
#9C3C85
accent
#42BFE6
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #17662A

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

Preview Lab → · Contrast checker → · Palette generator →

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