#17862F#17862F

#17862F is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.3% C 0.157 H 145.9°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#17862F
RGBrgb(23, 134, 47)
HSLhsl(133, 71%, 31%)
HSVhsv(133, 83%, 53%)
CMYKcmyk(82.8%, 0%, 64.9%, 47.5%)
CIE-LABlab(48.81, -48.18, 37.54)
CIE-LCHlch(48.81, 61.08, 142.08°)
OKLaboklab(54.28% -0.1297 0.0877)
OKLCHoklch(54.28% 0.157 145.9)
XYZxyz(9.3908, 17.4364, 5.5594)
Luminance0.1744 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17862F #86176E
analogous
#368617 #17862F #178666
triadic
#17862F #2F1786 #862F17
tetradic
#17862F #173686 #86176E #866617
square
#17862F #173686 #86176E #866617
split-complementary
#17862F #661786 #861736
monochromatic
#051E0A #0E521D #17862F #20BA41 #3ADD5D

Accessibility & contrast

On white

4.68
#17862F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#17862F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #17862F
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17862F#FFFFFF#000000##FFFFFF
##17862F1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887925
Deuteranopia (green-blind)
#7C7137
Tritanopia (blue-blind)
#008374
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #17862f;
/* rgb */ color: rgb(23, 134, 47);
/* oklch */ color: oklch(54.3% 0.157 145.9);
Tailwind
colors: {
  custom: {
    50: '#6aaa6b',
    500: '#17862f',
    950: '#000000',
  },
}
SCSS
$custom: #17862f;
$custom-light: #6aaa6b;
$custom-dark: #000000;
JSON
{
  "hex": "#17862f",
  "rgb": {
    "r": 23,
    "g": 134,
    "b": 47
  },
  "hsl": {
    "h": 132.973,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54275,
    "c": 0.15659,
    "h": 145.9
  },
  "luminance": 0.17438
}

Semantic roles & 50–950 ramp

primary
#17862F
secondary
#BA3F9F
accent
#3AC7ED
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081007
muted
#7A7F7A

Preview Lab

Preview with #17862F

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

Preview Lab → · Contrast checker → · Palette generator →

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