#183F18#183F18

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

Color values

HEX#183F18
RGBrgb(24, 63, 24)
HSLhsl(120, 45%, 17%)
HSVhsv(120, 62%, 25%)
CMYKcmyk(61.9%, 0%, 61.9%, 75.3%)
CIE-LABlab(23.05, -23.30, 19.62)
CIE-LCHlch(23.05, 30.46, 139.91°)
OKLaboklab(32.88% -0.0633 0.0468)
OKLCHoklch(32.88% 0.079 143.5)
XYZxyz(2.3189, 3.8150, 1.4781)
Luminance0.0382 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183F18 #3F183F
analogous
#2C3F18 #183F18 #183F2C
triadic
#183F18 #18183F #3F1818
tetradic
#183F18 #182C3F #3F183F #3F2C18
square
#183F18 #182C3F #3F183F #3F2C18
split-complementary
#183F18 #2C183F #3F182C
monochromatic
#081608 #081608 #183F18 #296B29 #3A983A

Accessibility & contrast

On white

11.91
#183F18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #183F18
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183F18#FFFFFF#000000##FFFFFF
##183F181.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #183f18;
/* rgb */ color: rgb(24, 63, 24);
/* oklch */ color: oklch(32.9% 0.079 143.5);
Tailwind
colors: {
  custom: {
    50: '#597456',
    500: '#183f18',
    950: '#000000',
  },
}
SCSS
$custom: #183f18;
$custom-light: #597456;
$custom-dark: #000000;
JSON
{
  "hex": "#183f18",
  "rgb": {
    "r": 24,
    "g": 63,
    "b": 24
  },
  "hsl": {
    "h": 120,
    "s": 44.828,
    "l": 17.059
  },
  "oklch": {
    "l": 0.32878,
    "c": 0.07877,
    "h": 143.5
  },
  "luminance": 0.03815
}

Semantic roles & 50–950 ramp

primary
#183F18
secondary
#753D75
accent
#53D5D5
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#040803
muted
#797B78

Preview Lab

Preview with #183F18

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

Preview Lab → · Contrast checker → · Palette generator →

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