#174012#174012

#174012 is a dark, moderate green. Relative luminance 0.039; OKLCH L 33.1% C 0.087 H 141.5°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#174012
RGBrgb(23, 64, 18)
HSLhsl(113, 56%, 16%)
HSVhsv(113, 72%, 25%)
CMYKcmyk(64.1%, 0%, 71.9%, 74.9%)
CIE-LABlab(23.31, -24.92, 23.24)
CIE-LCHlch(23.31, 34.07, 136.99°)
OKLaboklab(33.06% -0.068 0.054)
OKLCHoklch(33.06% 0.087 141.5)
XYZxyz(2.2958, 3.8924, 1.2025)
Luminance0.0389 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174012 #3B1240
analogous
#2E4012 #174012 #124024
triadic
#174012 #121740 #401217
tetradic
#174012 #122E40 #3B1240 #402412
square
#174012 #122E40 #3B1240 #402412
split-complementary
#174012 #241240 #40122E
monochromatic
#091807 #091807 #174012 #28701F #39A02D

Accessibility & contrast

On white

11.81
#174012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#174012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174012
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174012#FFFFFF#000000##FFFFFF
##1740121.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A0D
Deuteranopia (green-blind)
#3C3616
Tritanopia (blue-blind)
#113E36
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #174012;
/* rgb */ color: rgb(23, 64, 18);
/* oklch */ color: oklch(33.1% 0.087 141.5);
Tailwind
colors: {
  custom: {
    50: '#597552',
    500: '#174012',
    950: '#000000',
  },
}
SCSS
$custom: #174012;
$custom-light: #597552;
$custom-dark: #000000;
JSON
{
  "hex": "#174012",
  "rgb": {
    "r": 23,
    "g": 64,
    "b": 18
  },
  "hsl": {
    "h": 113.478,
    "s": 56.098,
    "l": 16.078
  },
  "oklch": {
    "l": 0.33058,
    "c": 0.08687,
    "h": 141.5
  },
  "luminance": 0.03893
}

Semantic roles & 50–950 ramp

primary
#174012
secondary
#723579
accent
#48DFCF
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040802
muted
#797B78

Preview Lab

Preview with #174012

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

Preview Lab → · Contrast checker → · Palette generator →

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