#18500F#18500F

#18500F is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.0% C 0.111 H 141.2°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#18500F
RGBrgb(24, 80, 15)
HSLhsl(112, 68%, 19%)
HSVhsv(112, 81%, 31%)
CMYKcmyk(70%, 0%, 81.3%, 68.6%)
CIE-LABlab(29.33, -31.74, 30.99)
CIE-LCHlch(29.33, 44.36, 135.69°)
OKLaboklab(38.03% -0.0867 0.0699)
OKLCHoklch(38.03% 0.111 141.2)
XYZxyz(3.3314, 5.9657, 1.4278)
Luminance0.0597 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18500F #470F50
analogous
#38500F #18500F #0F5026
triadic
#18500F #0F1850 #500F18
tetradic
#18500F #0F3850 #470F50 #50260F
square
#18500F #0F3850 #470F50 #50260F
split-complementary
#18500F #260F50 #500F38
monochromatic
#081A05 #091C05 #18500F #278419 #37B722

Accessibility & contrast

On white

9.58
#18500F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#18500F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18500F
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18500F#FFFFFF#000000##FFFFFF
##18500F1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524804
Deuteranopia (green-blind)
#4B4316
Tritanopia (blue-blind)
#0E4D43
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #18500f;
/* rgb */ color: rgb(24, 80, 15);
/* oklch */ color: oklch(38.0% 0.111 141.2);
Tailwind
colors: {
  custom: {
    50: '#5e8252',
    500: '#18500f',
    950: '#000000',
  },
}
SCSS
$custom: #18500f;
$custom-light: #5e8252;
$custom-dark: #000000;
JSON
{
  "hex": "#18500f",
  "rgb": {
    "r": 24,
    "g": 80,
    "b": 15
  },
  "hsl": {
    "h": 111.692,
    "s": 68.421,
    "l": 18.627
  },
  "oklch": {
    "l": 0.38028,
    "c": 0.11137,
    "h": 141.2
  },
  "luminance": 0.05966
}

Semantic roles & 50–950 ramp

primary
#18500F
secondary
#7E318A
accent
#3DEBD3
background
#F5F8F4
surface
#E9EFE7
border
#C5CAC3
text
#050A02
muted
#797C78

Preview Lab

Preview with #18500F

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

Preview Lab → · Contrast checker → · Palette generator →

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