#176815#176815

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

Color values

HEX#176815
RGBrgb(23, 104, 21)
HSLhsl(119, 66%, 25%)
HSVhsv(119, 80%, 41%)
CMYKcmyk(77.9%, 0%, 79.8%, 59.2%)
CIE-LABlab(38.09, -40.46, 37.34)
CIE-LCHlch(38.09, 55.05, 137.30°)
OKLaboklab(45.3% -0.1099 0.084)
OKLCHoklch(45.3% 0.138 142.6)
XYZxyz(5.4387, 10.1363, 2.3792)
Luminance0.1014 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#176815 #661568
analogous
#416815 #176815 #15683D
triadic
#176815 #151768 #681517
tetradic
#176815 #154168 #661568 #683D15
square
#176815 #154168 #661568 #683D15
split-complementary
#176815 #3D1568 #681541
monochromatic
#061905 #0C350B #176815 #229B1F #2ECE2A

Accessibility & contrast

On white

6.94
#176815 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #176815
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##176815#FFFFFF#000000##FFFFFF
##1768151.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D04
Deuteranopia (green-blind)
#61571E
Tritanopia (blue-blind)
#006558
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #176815;
/* rgb */ color: rgb(23, 104, 21);
/* oklch */ color: oklch(45.3% 0.138 142.6);
Tailwind
colors: {
  custom: {
    50: '#639459',
    500: '#176815',
    950: '#000000',
  },
}
SCSS
$custom: #176815;
$custom-light: #639459;
$custom-dark: #000000;
JSON
{
  "hex": "#176815",
  "rgb": {
    "r": 23,
    "g": 104,
    "b": 21
  },
  "hsl": {
    "h": 118.554,
    "s": 66.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.453,
    "c": 0.13836,
    "h": 142.6
  },
  "luminance": 0.10137
}

Semantic roles & 50–950 ramp

primary
#176815
secondary
#9C3A9F
accent
#3EE9E5
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #176815

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

Preview Lab → · Contrast checker → · Palette generator →

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