#174C12#174C12

#174C12 is a dark, moderate green. Relative luminance 0.054; OKLCH L 36.8% C 0.104 H 141.9°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#174C12
RGBrgb(23, 76, 18)
HSLhsl(115, 62%, 18%)
HSVhsv(115, 76%, 30%)
CMYKcmyk(69.7%, 0%, 76.3%, 70.2%)
CIE-LABlab(27.83, -30.09, 28.13)
CIE-LCHlch(27.83, 41.19, 136.93°)
OKLaboklab(36.79% -0.082 0.0644)
OKLCHoklch(36.79% 0.104 141.9)
XYZxyz(3.0468, 5.3944, 1.4528)
Luminance0.0539 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174C12 #47124C
analogous
#344C12 #174C12 #124C2A
triadic
#174C12 #12174C #4C1217
tetradic
#174C12 #12344C #47124C #4C2A12
square
#174C12 #12344C #47124C #4C2A12
split-complementary
#174C12 #2A124C #4C1234
monochromatic
#071906 #081B06 #174C12 #267D1E #35AF29

Accessibility & contrast

On white

10.10
#174C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#174C12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174C12
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174C12#FFFFFF#000000##FFFFFF
##174C121.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4409
Deuteranopia (green-blind)
#484018
Tritanopia (blue-blind)
#0D4940
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #174c12;
/* rgb */ color: rgb(23, 76, 18);
/* oklch */ color: oklch(36.8% 0.104 141.9);
Tailwind
colors: {
  custom: {
    50: '#5c7f53',
    500: '#174c12',
    950: '#000000',
  },
}
SCSS
$custom: #174c12;
$custom-light: #5c7f53;
$custom-dark: #000000;
JSON
{
  "hex": "#174c12",
  "rgb": {
    "r": 23,
    "g": 76,
    "b": 18
  },
  "hsl": {
    "h": 114.828,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.36789,
    "c": 0.10426,
    "h": 141.9
  },
  "luminance": 0.05395
}

Semantic roles & 50–950 ramp

primary
#174C12
secondary
#7E3585
accent
#43E5D7
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A03
muted
#797C78

Preview Lab

Preview with #174C12

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

Preview Lab → · Contrast checker → · Palette generator →

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