#176918#176918

#176918 is a mid, vivid green. Relative luminance 0.104; OKLCH L 45.6% C 0.138 H 143.0°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#176918
RGBrgb(23, 105, 24)
HSLhsl(121, 64%, 25%)
HSVhsv(121, 78%, 41%)
CMYKcmyk(78.1%, 0%, 77.1%, 58.8%)
CIE-LABlab(38.46, -40.56, 36.55)
CIE-LCHlch(38.46, 54.59, 137.98°)
OKLaboklab(45.62% -0.11 0.0828)
OKLCHoklch(45.62% 0.138 143)
XYZxyz(5.5694, 10.3506, 2.5683)
Luminance0.1035 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#176918 #691768
analogous
#3F6917 #176918 #176941
triadic
#176918 #181769 #691817
tetradic
#176918 #173F69 #691768 #694117
square
#176918 #173F69 #691768 #694117
split-complementary
#176918 #411769 #69173F
monochromatic
#051906 #0C370D #176918 #229B23 #2DCD2F

Accessibility & contrast

On white

6.84
#176918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#176918 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #176918
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##176918#FFFFFF#000000##FFFFFF
##1769181.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E09
Deuteranopia (green-blind)
#625820
Tritanopia (blue-blind)
#006659
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #176918;
/* rgb */ color: rgb(23, 105, 24);
/* oklch */ color: oklch(45.6% 0.138 143.0);
Tailwind
colors: {
  custom: {
    50: '#63955b',
    500: '#176918',
    950: '#000000',
  },
}
SCSS
$custom: #176918;
$custom-light: #63955b;
$custom-dark: #000000;
JSON
{
  "hex": "#176918",
  "rgb": {
    "r": 23,
    "g": 105,
    "b": 24
  },
  "hsl": {
    "h": 120.732,
    "s": 64.063,
    "l": 25.098
  },
  "oklch": {
    "l": 0.45621,
    "c": 0.13772,
    "h": 143
  },
  "luminance": 0.10351
}

Semantic roles & 50–950 ramp

primary
#176918
secondary
#9F3D9E
accent
#41E5E7
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #176918

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

Preview Lab → · Contrast checker → · Palette generator →

#176918 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva