#17662B#17662B

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

Color values

HEX#17662B
RGBrgb(23, 102, 43)
HSLhsl(135, 63%, 25%)
HSVhsv(135, 77%, 40%)
CMYKcmyk(77.5%, 0%, 57.8%, 60%)
CIE-LABlab(37.59, -37.12, 26.49)
CIE-LCHlch(37.59, 45.60, 144.49°)
OKLaboklab(44.96% -0.0999 0.0634)
OKLCHoklch(44.96% 0.118 147.6)
XYZxyz(5.5403, 9.8587, 3.8960)
Luminance0.0986 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17662B #661752
analogous
#2B6617 #17662B #176653
triadic
#17662B #2B1766 #662B17
tetradic
#17662B #172B66 #661752 #665317
square
#17662B #172B66 #661752 #665317
split-complementary
#17662B #531766 #66172B
monochromatic
#06190B #0C3416 #17662B #229840 #2ECA55

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##17662B#FFFFFF#000000##FFFFFF
##17662B1.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)
#675C26
Deuteranopia (green-blind)
#5E5630
Tritanopia (blue-blind)
#006459
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #17662b;
/* rgb */ color: rgb(23, 102, 43);
/* oklch */ color: oklch(45.0% 0.118 147.6);
Tailwind
colors: {
  custom: {
    50: '#629266',
    500: '#17662b',
    950: '#000000',
  },
}
SCSS
$custom: #17662b;
$custom-light: #629266;
$custom-dark: #000000;
JSON
{
  "hex": "#17662b",
  "rgb": {
    "r": 23,
    "g": 102,
    "b": 43
  },
  "hsl": {
    "h": 135.19,
    "s": 63.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.44956,
    "c": 0.11834,
    "h": 147.6
  },
  "luminance": 0.09859
}

Semantic roles & 50–950 ramp

primary
#17662B
secondary
#9C3C84
accent
#42BDE6
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #17662B

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

Preview Lab → · Contrast checker → · Palette generator →

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