#174816#174816

#174816 is a dark, moderate green. Relative luminance 0.049; OKLCH L 35.6% C 0.095 H 143.0°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#174816
RGBrgb(23, 72, 22)
HSLhsl(119, 53%, 18%)
HSVhsv(119, 69%, 28%)
CMYKcmyk(68.1%, 0%, 69.4%, 71.8%)
CIE-LABlab(26.37, -27.94, 24.57)
CIE-LCHlch(26.37, 37.21, 138.67°)
OKLaboklab(35.6% -0.076 0.0574)
OKLCHoklch(35.6% 0.095 143)
XYZxyz(2.8154, 4.8745, 1.5514)
Luminance0.0488 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174816 #471648
analogous
#304816 #174816 #16482E
triadic
#174816 #161748 #481617
tetradic
#174816 #163048 #471648 #482E16
square
#174816 #163048 #471648 #482E16
split-complementary
#174816 #2E1648 #481630
monochromatic
#071707 #081908 #174816 #267724 #35A633

Accessibility & contrast

On white

10.63
#174816 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#174816 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174816
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174816#FFFFFF#000000##FFFFFF
##1748161.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4110
Deuteranopia (green-blind)
#443D1A
Tritanopia (blue-blind)
#0E463D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #174816;
/* rgb */ color: rgb(23, 72, 22);
/* oklch */ color: oklch(35.6% 0.095 143.0);
Tailwind
colors: {
  custom: {
    50: '#5b7b55',
    500: '#174816',
    950: '#000000',
  },
}
SCSS
$custom: #174816;
$custom-light: #5b7b55;
$custom-dark: #000000;
JSON
{
  "hex": "#174816",
  "rgb": {
    "r": 23,
    "g": 72,
    "b": 22
  },
  "hsl": {
    "h": 118.8,
    "s": 53.191,
    "l": 18.431
  },
  "oklch": {
    "l": 0.35598,
    "c": 0.09519,
    "h": 143
  },
  "luminance": 0.04875
}

Semantic roles & 50–950 ramp

primary
#174816
secondary
#7E3A7F
accent
#4BDDDA
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040903
muted
#797B78

Preview Lab

Preview with #174816

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

Preview Lab → · Contrast checker → · Palette generator →

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