#17662E#17662E

#17662E is a mid, moderate green. Relative luminance 0.099; OKLCH L 45.0% C 0.115 H 148.6°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#17662E
RGBrgb(23, 102, 46)
HSLhsl(137, 63%, 25%)
HSVhsv(137, 77%, 40%)
CMYKcmyk(77.5%, 0%, 54.9%, 60%)
CIE-LABlab(37.63, -36.63, 24.91)
CIE-LCHlch(37.63, 44.29, 145.79°)
OKLaboklab(45% -0.0985 0.0601)
OKLCHoklch(45% 0.115 148.6)
XYZxyz(5.5974, 9.8815, 4.1966)
Luminance0.0988 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17662E #66174F
analogous
#286617 #17662E #176656
triadic
#17662E #2E1766 #662E17
tetradic
#17662E #172866 #66174F #665617
square
#17662E #172866 #66174F #665617
split-complementary
#17662E #561766 #661728
monochromatic
#06190B #0C3417 #17662E #229845 #2ECA5B

Accessibility & contrast

On white

7.06
#17662E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#17662E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17662E
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17662E#FFFFFF#000000##FFFFFF
##17662E1.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675C29
Deuteranopia (green-blind)
#5E5632
Tritanopia (blue-blind)
#006459
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #17662e;
/* rgb */ color: rgb(23, 102, 46);
/* oklch */ color: oklch(45.0% 0.115 148.6);
Tailwind
colors: {
  custom: {
    50: '#629268',
    500: '#17662e',
    950: '#000000',
  },
}
SCSS
$custom: #17662e;
$custom-light: #629268;
$custom-dark: #000000;
JSON
{
  "hex": "#17662e",
  "rgb": {
    "r": 23,
    "g": 102,
    "b": 46
  },
  "hsl": {
    "h": 137.468,
    "s": 63.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.45004,
    "c": 0.11543,
    "h": 148.6
  },
  "luminance": 0.09882
}

Semantic roles & 50–950 ramp

primary
#17662E
secondary
#9C3C80
accent
#42B6E6
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #17662E

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

Preview Lab → · Contrast checker → · Palette generator →

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