#174F12#174F12

#174F12 is a dark, moderate green. Relative luminance 0.058; OKLCH L 37.7% C 0.108 H 141.9°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#174F12
RGBrgb(23, 79, 18)
HSLhsl(115, 63%, 19%)
HSVhsv(115, 77%, 31%)
CMYKcmyk(70.9%, 0%, 77.2%, 69%)
CIE-LABlab(28.95, -31.31, 29.30)
CIE-LCHlch(28.95, 42.89, 136.90°)
OKLaboklab(37.71% -0.0853 0.0668)
OKLCHoklch(37.71% 0.108 141.9)
XYZxyz(3.2583, 5.8175, 1.5233)
Luminance0.0582 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174F12 #4A124F
analogous
#364F12 #174F12 #124F2C
triadic
#174F12 #12174F #4F1217
tetradic
#174F12 #12364F #4A124F #4F2C12
square
#174F12 #12364F #4A124F #4F2C12
split-complementary
#174F12 #2C124F #4F1236
monochromatic
#071906 #081D07 #174F12 #26811D #34B329

Accessibility & contrast

On white

9.71
#174F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#174F12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174F12
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174F12#FFFFFF#000000##FFFFFF
##174F121.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514708
Deuteranopia (green-blind)
#4A4218
Tritanopia (blue-blind)
#0C4C43
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #174f12;
/* rgb */ color: rgb(23, 79, 18);
/* oklch */ color: oklch(37.7% 0.108 141.9);
Tailwind
colors: {
  custom: {
    50: '#5d8154',
    500: '#174f12',
    950: '#000000',
  },
}
SCSS
$custom: #174f12;
$custom-light: #5d8154;
$custom-dark: #000000;
JSON
{
  "hex": "#174f12",
  "rgb": {
    "r": 23,
    "g": 79,
    "b": 18
  },
  "hsl": {
    "h": 115.082,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.37713,
    "c": 0.10837,
    "h": 141.9
  },
  "luminance": 0.05818
}

Semantic roles & 50–950 ramp

primary
#174F12
secondary
#813588
accent
#42E6D8
background
#F5F7F4
surface
#E9EEE8
border
#C5C9C4
text
#050A03
muted
#797C78

Preview Lab

Preview with #174F12

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

Preview Lab → · Contrast checker → · Palette generator →

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