#18450C#18450C

#18450C is a dark, moderate green. Relative luminance 0.045; OKLCH L 34.6% C 0.098 H 139.9°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#18450C
RGBrgb(24, 69, 12)
HSLhsl(107, 70%, 16%)
HSVhsv(107, 83%, 27%)
CMYKcmyk(65.2%, 0%, 82.6%, 72.9%)
CIE-LABlab(25.19, -27.44, 28.09)
CIE-LCHlch(25.19, 39.27, 134.33°)
OKLaboklab(34.6% -0.0753 0.0633)
OKLCHoklch(34.6% 0.098 139.9)
XYZxyz(2.5711, 4.4768, 1.0764)
Luminance0.0448 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18450C #390C45
analogous
#34450C #18450C #0C451C
triadic
#18450C #0C1845 #450C18
tetradic
#18450C #0C3445 #390C45 #451C0C
square
#18450C #0C3445 #390C45 #451C0C
split-complementary
#18450C #1C0C45 #450C34
monochromatic
#091A05 #091A05 #18450C #2A7915 #3CAD1E

Accessibility & contrast

On white

11.08
#18450C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#18450C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18450C
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18450C#FFFFFF#000000##FFFFFF
##18450C1.0011.081.9011.08
#FFFFFF11.081.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473E03
Deuteranopia (green-blind)
#423A12
Tritanopia (blue-blind)
#12423A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #18450c;
/* rgb */ color: rgb(24, 69, 12);
/* oklch */ color: oklch(34.6% 0.098 139.9);
Tailwind
colors: {
  custom: {
    50: '#5b794f',
    500: '#18450c',
    950: '#000000',
  },
}
SCSS
$custom: #18450c;
$custom-light: #5b794f;
$custom-dark: #000000;
JSON
{
  "hex": "#18450c",
  "rgb": {
    "r": 24,
    "g": 69,
    "b": 12
  },
  "hsl": {
    "h": 107.368,
    "s": 70.37,
    "l": 15.882
  },
  "oklch": {
    "l": 0.34599,
    "c": 0.09844,
    "h": 139.9
  },
  "luminance": 0.04477
}

Semantic roles & 50–950 ramp

primary
#18450C
secondary
#6F2C81
accent
#3BEDC8
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040902
muted
#797B78

Preview Lab

Preview with #18450C

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

Preview Lab → · Contrast checker → · Palette generator →

#18450C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva