#174812#174812

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

Color values

HEX#174812
RGBrgb(23, 72, 18)
HSLhsl(114, 60%, 18%)
HSVhsv(114, 75%, 28%)
CMYKcmyk(68.1%, 0%, 75%, 71.8%)
CIE-LABlab(26.33, -28.42, 26.54)
CIE-LCHlch(26.33, 38.89, 136.96°)
OKLaboklab(35.55% -0.0775 0.061)
OKLCHoklch(35.55% 0.099 141.8)
XYZxyz(2.7798, 4.8603, 1.3638)
Luminance0.0486 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174812 #431248
analogous
#324812 #174812 #124828
triadic
#174812 #121748 #481217
tetradic
#174812 #123248 #431248 #482812
square
#174812 #123248 #431248 #482812
split-complementary
#174812 #281248 #481232
monochromatic
#081806 #081806 #174812 #27791E #36AA2A

Accessibility & contrast

On white

10.65
#174812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#174812 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174812
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174812#FFFFFF#000000##FFFFFF
##1748121.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A410B
Deuteranopia (green-blind)
#443D17
Tritanopia (blue-blind)
#0F463D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #174812;
/* rgb */ color: rgb(23, 72, 18);
/* oklch */ color: oklch(35.6% 0.099 141.8);
Tailwind
colors: {
  custom: {
    50: '#5b7b53',
    500: '#174812',
    950: '#000000',
  },
}
SCSS
$custom: #174812;
$custom-light: #5b7b53;
$custom-dark: #000000;
JSON
{
  "hex": "#174812",
  "rgb": {
    "r": 23,
    "g": 72,
    "b": 18
  },
  "hsl": {
    "h": 114.444,
    "s": 60,
    "l": 17.647
  },
  "oklch": {
    "l": 0.35551,
    "c": 0.09864,
    "h": 141.8
  },
  "luminance": 0.04861
}

Semantic roles & 50–950 ramp

primary
#174812
secondary
#7A3581
accent
#45E3D4
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040902
muted
#797B78

Preview Lab

Preview with #174812

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

Preview Lab → · Contrast checker → · Palette generator →

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