#17451B#17451B

#17451B is a dark, moderate green. Relative luminance 0.045; OKLCH L 34.7% C 0.086 H 145.0°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#17451B
RGBrgb(23, 69, 27)
HSLhsl(125, 50%, 18%)
HSVhsv(125, 67%, 27%)
CMYKcmyk(66.7%, 0%, 60.9%, 72.9%)
CIE-LABlab(25.31, -25.91, 20.59)
CIE-LCHlch(25.31, 33.09, 141.52°)
OKLaboklab(34.74% -0.0702 0.0492)
OKLCHoklch(34.74% 0.086 145)
XYZxyz(2.6791, 4.5173, 1.7674)
Luminance0.0452 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17451B #451741
analogous
#2A4517 #17451B #174532
triadic
#17451B #1B1745 #451B17
tetradic
#17451B #172A45 #451741 #453217
square
#17451B #172A45 #451741 #453217
split-complementary
#17451B #321745 #45172A
monochromatic
#081709 #081709 #17451B #26732D #36A13F

Accessibility & contrast

On white

11.03
#17451B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#17451B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17451B
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17451B#FFFFFF#000000##FFFFFF
##17451B1.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463E17
Deuteranopia (green-blind)
#403A1E
Tritanopia (blue-blind)
#0E433C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #17451b;
/* rgb */ color: rgb(23, 69, 27);
/* oklch */ color: oklch(34.7% 0.086 145.0);
Tailwind
colors: {
  custom: {
    50: '#5a7958',
    500: '#17451b',
    950: '#000000',
  },
}
SCSS
$custom: #17451b;
$custom-light: #5a7958;
$custom-dark: #000000;
JSON
{
  "hex": "#17451b",
  "rgb": {
    "r": 23,
    "g": 69,
    "b": 27
  },
  "hsl": {
    "h": 125.217,
    "s": 50,
    "l": 18.039
  },
  "oklch": {
    "l": 0.34743,
    "c": 0.08573,
    "h": 145
  },
  "luminance": 0.04518
}

Semantic roles & 50–950 ramp

primary
#17451B
secondary
#7C3C76
accent
#4ECDDA
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#040903
muted
#797B78

Preview Lab

Preview with #17451B

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

Preview Lab → · Contrast checker → · Palette generator →

#17451B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva