#183F12#183F12

#183F12 is a dark, moderate green. Relative luminance 0.038; OKLCH L 32.8% C 0.085 H 141.1°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#183F12
RGBrgb(24, 63, 18)
HSLhsl(112, 56%, 16%)
HSVhsv(112, 71%, 25%)
CMYKcmyk(61.9%, 0%, 71.4%, 75.3%)
CIE-LABlab(22.97, -24.14, 22.88)
CIE-LCHlch(22.97, 33.26, 136.54°)
OKLaboklab(32.79% -0.066 0.0532)
OKLCHoklch(32.79% 0.085 141.1)
XYZxyz(2.2633, 3.7927, 1.1849)
Luminance0.0379 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183F12 #39123F
analogous
#2E3F12 #183F12 #123F22
triadic
#183F12 #12183F #3F1218
tetradic
#183F12 #122E3F #39123F #3F2212
square
#183F12 #122E3F #39123F #3F2212
split-complementary
#183F12 #22123F #3F122E
monochromatic
#091807 #091807 #183F12 #2A6F20 #3C9E2D

Accessibility & contrast

On white

11.94
#183F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #183F12
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183F12#FFFFFF#000000##FFFFFF
##183F121.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41390D
Deuteranopia (green-blind)
#3C3616
Tritanopia (blue-blind)
#133D36
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #183f12;
/* rgb */ color: rgb(24, 63, 18);
/* oklch */ color: oklch(32.8% 0.085 141.1);
Tailwind
colors: {
  custom: {
    50: '#5a7452',
    500: '#183f12',
    950: '#000000',
  },
}
SCSS
$custom: #183f12;
$custom-light: #5a7452;
$custom-dark: #000000;
JSON
{
  "hex": "#183f12",
  "rgb": {
    "r": 24,
    "g": 63,
    "b": 18
  },
  "hsl": {
    "h": 112,
    "s": 55.556,
    "l": 15.882
  },
  "oklch": {
    "l": 0.32791,
    "c": 0.08479,
    "h": 141.1
  },
  "luminance": 0.03793
}

Semantic roles & 50–950 ramp

primary
#183F12
secondary
#6F3578
accent
#49DFCB
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040802
muted
#797B78

Preview Lab

Preview with #183F12

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

Preview Lab → · Contrast checker → · Palette generator →

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