#174815#174815

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

Color values

HEX#174815
RGBrgb(23, 72, 21)
HSLhsl(118, 55%, 18%)
HSVhsv(118, 71%, 28%)
CMYKcmyk(68.1%, 0%, 70.8%, 71.8%)
CIE-LABlab(26.36, -28.07, 25.08)
CIE-LCHlch(26.36, 37.64, 138.22°)
OKLaboklab(35.59% -0.0764 0.0583)
OKLCHoklch(35.59% 0.096 142.6)
XYZxyz(2.8059, 4.8708, 1.5016)
Luminance0.0487 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174815 #461548
analogous
#304815 #174815 #15482C
triadic
#174815 #151748 #481517
tetradic
#174815 #153048 #461548 #482C15
square
#174815 #153048 #461548 #482C15
split-complementary
#174815 #2C1548 #481530
monochromatic
#081807 #081907 #174815 #267723 #35A731

Accessibility & contrast

On white

10.64
#174815 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #174815
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174815#FFFFFF#000000##FFFFFF
##1748151.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A410F
Deuteranopia (green-blind)
#443D19
Tritanopia (blue-blind)
#0E463D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #174815;
/* rgb */ color: rgb(23, 72, 21);
/* oklch */ color: oklch(35.6% 0.096 142.6);
Tailwind
colors: {
  custom: {
    50: '#5b7b55',
    500: '#174815',
    950: '#000000',
  },
}
SCSS
$custom: #174815;
$custom-light: #5b7b55;
$custom-dark: #000000;
JSON
{
  "hex": "#174815",
  "rgb": {
    "r": 23,
    "g": 72,
    "b": 21
  },
  "hsl": {
    "h": 117.647,
    "s": 54.839,
    "l": 18.235
  },
  "oklch": {
    "l": 0.35586,
    "c": 0.09608,
    "h": 142.6
  },
  "luminance": 0.04871
}

Semantic roles & 50–950 ramp

primary
#174815
secondary
#7D3980
accent
#4ADED8
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040903
muted
#797B78

Preview Lab

Preview with #174815

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

Preview Lab → · Contrast checker → · Palette generator →

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