#174A12#174A12

#174A12 is a dark, moderate green. Relative luminance 0.051; OKLCH L 36.2% C 0.101 H 141.8°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#174A12
RGBrgb(23, 74, 18)
HSLhsl(115, 61%, 18%)
HSVhsv(115, 76%, 29%)
CMYKcmyk(68.9%, 0%, 75.7%, 71%)
CIE-LABlab(27.08, -29.26, 27.34)
CIE-LCHlch(27.08, 40.05, 136.94°)
OKLaboklab(36.17% -0.0798 0.0627)
OKLCHoklch(36.17% 0.101 141.8)
XYZxyz(2.9112, 5.1231, 1.4076)
Luminance0.0512 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174A12 #45124A
analogous
#334A12 #174A12 #124A29
triadic
#174A12 #12174A #4A1217
tetradic
#174A12 #12334A #45124A #4A2912
square
#174A12 #12334A #45124A #4A2912
split-complementary
#174A12 #29124A #4A1233
monochromatic
#081906 #081906 #174A12 #267B1E #36AC2A

Accessibility & contrast

On white

10.37
#174A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#174A12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174A12
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174A12#FFFFFF#000000##FFFFFF
##174A121.0010.372.0210.37
#FFFFFF10.371.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C430A
Deuteranopia (green-blind)
#463E17
Tritanopia (blue-blind)
#0E483F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #174a12;
/* rgb */ color: rgb(23, 74, 18);
/* oklch */ color: oklch(36.2% 0.101 141.8);
Tailwind
colors: {
  custom: {
    50: '#5c7d53',
    500: '#174a12',
    950: '#000000',
  },
}
SCSS
$custom: #174a12;
$custom-light: #5c7d53;
$custom-dark: #000000;
JSON
{
  "hex": "#174a12",
  "rgb": {
    "r": 23,
    "g": 74,
    "b": 18
  },
  "hsl": {
    "h": 114.643,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.36171,
    "c": 0.10147,
    "h": 141.8
  },
  "luminance": 0.05123
}

Semantic roles & 50–950 ramp

primary
#174A12
secondary
#7C3583
accent
#44E4D6
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78

Preview Lab

Preview with #174A12

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

Preview Lab → · Contrast checker → · Palette generator →

#174A12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva