#183F17#183F17

#183F17 is a dark, moderate green. Relative luminance 0.038; OKLCH L 32.9% C 0.080 H 143.1°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#183F17
RGBrgb(24, 63, 23)
HSLhsl(119, 47%, 17%)
HSVhsv(119, 63%, 25%)
CMYKcmyk(61.9%, 0%, 63.5%, 75.3%)
CIE-LABlab(23.04, -23.46, 20.18)
CIE-LCHlch(23.04, 30.94, 139.30°)
OKLaboklab(32.86% -0.0638 0.048)
OKLCHoklch(32.86% 0.08 143.1)
XYZxyz(2.3087, 3.8109, 1.4244)
Luminance0.0381 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183F17 #3E173F
analogous
#2C3F17 #183F17 #173F2A
triadic
#183F17 #17183F #3F1718
tetradic
#183F17 #172C3F #3E173F #3F2A17
square
#183F17 #172C3F #3E173F #3F2A17
split-complementary
#183F17 #2A173F #3F172C
monochromatic
#091608 #091608 #183F17 #296C27 #3A9938

Accessibility & contrast

On white

11.92
#183F17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#183F17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183F17
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183F17#FFFFFF#000000##FFFFFF
##183F171.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403913
Deuteranopia (green-blind)
#3B361A
Tritanopia (blue-blind)
#123D36
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #183f17;
/* rgb */ color: rgb(24, 63, 23);
/* oklch */ color: oklch(32.9% 0.080 143.1);
Tailwind
colors: {
  custom: {
    50: '#597455',
    500: '#183f17',
    950: '#000000',
  },
}
SCSS
$custom: #183f17;
$custom-light: #597455;
$custom-dark: #000000;
JSON
{
  "hex": "#183f17",
  "rgb": {
    "r": 24,
    "g": 63,
    "b": 23
  },
  "hsl": {
    "h": 118.5,
    "s": 46.512,
    "l": 16.863
  },
  "oklch": {
    "l": 0.32862,
    "c": 0.07983,
    "h": 143.1
  },
  "luminance": 0.03811
}

Semantic roles & 50–950 ramp

primary
#183F17
secondary
#743C76
accent
#52D6D3
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#040803
muted
#797B78

Preview Lab

Preview with #183F17

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

Preview Lab → · Contrast checker → · Palette generator →

#183F17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva