#18450F#18450F

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

Color values

HEX#18450F
RGBrgb(24, 69, 15)
HSLhsl(110, 64%, 16%)
HSVhsv(110, 78%, 27%)
CMYKcmyk(65.2%, 0%, 78.3%, 72.9%)
CIE-LABlab(25.21, -27.16, 26.79)
CIE-LCHlch(25.21, 38.15, 135.40°)
OKLaboklab(34.63% -0.0744 0.0611)
OKLCHoklch(34.63% 0.096 140.6)
XYZxyz(2.5909, 4.4847, 1.1809)
Luminance0.0449 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18450F #3C0F45
analogous
#33450F #18450F #0F4521
triadic
#18450F #0F1845 #450F18
tetradic
#18450F #0F3345 #3C0F45 #45210F
square
#18450F #0F3345 #3C0F45 #45210F
split-complementary
#18450F #210F45 #450F33
monochromatic
#091905 #091905 #18450F #29771A #3BAA25

Accessibility & contrast

On white

11.07
#18450F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18450F
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18450F#FFFFFF#000000##FFFFFF
##18450F1.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473E07
Deuteranopia (green-blind)
#413A14
Tritanopia (blue-blind)
#12433A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #18450f;
/* rgb */ color: rgb(24, 69, 15);
/* oklch */ color: oklch(34.6% 0.096 140.6);
Tailwind
colors: {
  custom: {
    50: '#5b7951',
    500: '#18450f',
    950: '#000000',
  },
}
SCSS
$custom: #18450f;
$custom-light: #5b7951;
$custom-dark: #000000;
JSON
{
  "hex": "#18450f",
  "rgb": {
    "r": 24,
    "g": 69,
    "b": 15
  },
  "hsl": {
    "h": 110,
    "s": 64.286,
    "l": 16.471
  },
  "oklch": {
    "l": 0.34627,
    "c": 0.09625,
    "h": 140.6
  },
  "luminance": 0.04485
}

Semantic roles & 50–950 ramp

primary
#18450F
secondary
#72307F
accent
#41E7CB
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040902
muted
#797B78

Preview Lab

Preview with #18450F

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

Preview Lab → · Contrast checker → · Palette generator →

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