#17662F#17662F

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

Color values

HEX#17662F
RGBrgb(23, 102, 47)
HSLhsl(138, 63%, 25%)
HSVhsv(138, 77%, 40%)
CMYKcmyk(77.5%, 0%, 53.9%, 60%)
CIE-LABlab(37.64, -36.46, 24.37)
CIE-LCHlch(37.64, 43.86, 146.24°)
OKLaboklab(45.02% -0.0981 0.059)
OKLCHoklch(45.02% 0.114 149)
XYZxyz(5.6174, 9.8895, 4.3016)
Luminance0.0989 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17662F #66174E
analogous
#276617 #17662F #176657
triadic
#17662F #2F1766 #662F17
tetradic
#17662F #172766 #66174E #665717
square
#17662F #172766 #66174E #665717
split-complementary
#17662F #571766 #661727
monochromatic
#06190C #0C3418 #17662F #229846 #2ECA5D

Accessibility & contrast

On white

7.05
#17662F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17662F
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17662F#FFFFFF#000000##FFFFFF
##17662F1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #17662f;
/* rgb */ color: rgb(23, 102, 47);
/* oklch */ color: oklch(45.0% 0.114 149.0);
Tailwind
colors: {
  custom: {
    50: '#619269',
    500: '#17662f',
    950: '#000000',
  },
}
SCSS
$custom: #17662f;
$custom-light: #619269;
$custom-dark: #000000;
JSON
{
  "hex": "#17662f",
  "rgb": {
    "r": 23,
    "g": 102,
    "b": 47
  },
  "hsl": {
    "h": 138.228,
    "s": 63.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.4502,
    "c": 0.11445,
    "h": 149
  },
  "luminance": 0.0989
}

Semantic roles & 50–950 ramp

primary
#17662F
secondary
#9C3C7F
accent
#42B4E6
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #17662F

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

Preview Lab → · Contrast checker → · Palette generator →

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