#18510F#18510F

#18510F is a dark, moderate green. Relative luminance 0.061; OKLCH L 38.3% C 0.113 H 141.2°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#18510F
RGBrgb(24, 81, 15)
HSLhsl(112, 69%, 19%)
HSVhsv(112, 81%, 32%)
CMYKcmyk(70.4%, 0%, 81.5%, 68.2%)
CIE-LABlab(29.70, -32.14, 31.35)
CIE-LCHlch(29.70, 44.90, 135.71°)
OKLaboklab(38.33% -0.0878 0.0706)
OKLCHoklch(38.33% 0.113 141.2)
XYZxyz(3.4052, 6.1132, 1.4524)
Luminance0.0611 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18510F #480F51
analogous
#39510F #18510F #0F5127
triadic
#18510F #0F1851 #510F18
tetradic
#18510F #0F3951 #480F51 #51270F
square
#18510F #0F3951 #480F51 #51270F
split-complementary
#18510F #270F51 #510F39
monochromatic
#081A05 #091D05 #18510F #278519 #37B822

Accessibility & contrast

On white

9.45
#18510F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#18510F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18510F
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18510F#FFFFFF#000000##FFFFFF
##18510F1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534903
Deuteranopia (green-blind)
#4C4416
Tritanopia (blue-blind)
#0E4E44
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #18510f;
/* rgb */ color: rgb(24, 81, 15);
/* oklch */ color: oklch(38.3% 0.113 141.2);
Tailwind
colors: {
  custom: {
    50: '#5e8253',
    500: '#18510f',
    950: '#000000',
  },
}
SCSS
$custom: #18510f;
$custom-light: #5e8253;
$custom-dark: #000000;
JSON
{
  "hex": "#18510f",
  "rgb": {
    "r": 24,
    "g": 81,
    "b": 15
  },
  "hsl": {
    "h": 111.818,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.38334,
    "c": 0.1127,
    "h": 141.2
  },
  "luminance": 0.06114
}

Semantic roles & 50–950 ramp

primary
#18510F
secondary
#7F318B
accent
#3CECD4
background
#F5F8F4
surface
#EAEFE7
border
#C6CAC3
text
#050A02
muted
#797C78

Preview Lab

Preview with #18510F

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

Preview Lab → · Contrast checker → · Palette generator →

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