#176818#176818

#176818 is a mid, vivid green. Relative luminance 0.101; OKLCH L 45.3% C 0.136 H 143.0°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#176818
RGBrgb(23, 104, 24)
HSLhsl(121, 64%, 25%)
HSVhsv(121, 78%, 41%)
CMYKcmyk(77.9%, 0%, 76.9%, 59.2%)
CIE-LABlab(38.11, -40.20, 36.18)
CIE-LCHlch(38.11, 54.08, 138.01°)
OKLaboklab(45.32% -0.1091 0.0821)
OKLCHoklch(45.32% 0.136 143)
XYZxyz(5.4682, 10.1481, 2.5346)
Luminance0.1015 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#176818 #681767
analogous
#3E6817 #176818 #176841
triadic
#176818 #181768 #681817
tetradic
#176818 #173E68 #681767 #684117
square
#176818 #173E68 #681767 #684117
split-complementary
#176818 #411768 #68173E
monochromatic
#061906 #0C360C #176818 #229A24 #2DCC2F

Accessibility & contrast

On white

6.93
#176818 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#176818 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #176818
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##176818#FFFFFF#000000##FFFFFF
##1768181.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5E0A
Deuteranopia (green-blind)
#615720
Tritanopia (blue-blind)
#006558
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #176818;
/* rgb */ color: rgb(23, 104, 24);
/* oklch */ color: oklch(45.3% 0.136 143.0);
Tailwind
colors: {
  custom: {
    50: '#63945a',
    500: '#176818',
    950: '#000000',
  },
}
SCSS
$custom: #176818;
$custom-light: #63945a;
$custom-dark: #000000;
JSON
{
  "hex": "#176818",
  "rgb": {
    "r": 23,
    "g": 104,
    "b": 24
  },
  "hsl": {
    "h": 120.741,
    "s": 63.78,
    "l": 24.902
  },
  "oklch": {
    "l": 0.45324,
    "c": 0.13649,
    "h": 143
  },
  "luminance": 0.10149
}

Semantic roles & 50–950 ramp

primary
#176818
secondary
#9E3D9D
accent
#41E5E7
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #176818

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

Preview Lab → · Contrast checker → · Palette generator →

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