#174912#174912

#174912 is a dark, moderate green. Relative luminance 0.050; OKLCH L 35.9% C 0.100 H 141.8°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#174912
RGBrgb(23, 73, 18)
HSLhsl(115, 60%, 18%)
HSVhsv(115, 75%, 29%)
CMYKcmyk(68.5%, 0%, 75.3%, 71.4%)
CIE-LABlab(26.71, -28.84, 26.94)
CIE-LCHlch(26.71, 39.47, 136.95°)
OKLaboklab(35.86% -0.0786 0.0619)
OKLCHoklch(35.86% 0.1 141.8)
XYZxyz(2.8449, 4.9906, 1.3855)
Luminance0.0499 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174912 #441249
analogous
#334912 #174912 #124928
triadic
#174912 #121749 #491217
tetradic
#174912 #123349 #441249 #492812
square
#174912 #123349 #441249 #492812
split-complementary
#174912 #281249 #491233
monochromatic
#081906 #081906 #174912 #267A1E #36AB2A

Accessibility & contrast

On white

10.51
#174912 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#174912 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174912
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174912#FFFFFF#000000##FFFFFF
##1749121.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B420A
Deuteranopia (green-blind)
#453E17
Tritanopia (blue-blind)
#0E473E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #174912;
/* rgb */ color: rgb(23, 73, 18);
/* oklch */ color: oklch(35.9% 0.100 141.8);
Tailwind
colors: {
  custom: {
    50: '#5b7c53',
    500: '#174912',
    950: '#000000',
  },
}
SCSS
$custom: #174912;
$custom-light: #5b7c53;
$custom-dark: #000000;
JSON
{
  "hex": "#174912",
  "rgb": {
    "r": 23,
    "g": 73,
    "b": 18
  },
  "hsl": {
    "h": 114.545,
    "s": 60.44,
    "l": 17.843
  },
  "oklch": {
    "l": 0.35861,
    "c": 0.10006,
    "h": 141.8
  },
  "luminance": 0.04991
}

Semantic roles & 50–950 ramp

primary
#174912
secondary
#7B3582
accent
#44E4D5
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040902
muted
#797B78

Preview Lab

Preview with #174912

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

Preview Lab → · Contrast checker → · Palette generator →

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