#18510C#18510C

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

Color values

HEX#18510C
RGBrgb(24, 81, 12)
HSLhsl(110, 74%, 18%)
HSVhsv(110, 85%, 32%)
CMYKcmyk(70.4%, 0%, 85.2%, 68.2%)
CIE-LABlab(29.68, -32.37, 32.49)
CIE-LCHlch(29.68, 45.86, 134.90°)
OKLaboklab(38.31% -0.0886 0.0725)
OKLCHoklch(38.31% 0.115 140.7)
XYZxyz(3.3853, 6.1053, 1.3478)
Luminance0.0611 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18510C #450C51
analogous
#3A510C #18510C #0C5122
triadic
#18510C #0C1851 #510C18
tetradic
#18510C #0C3A51 #450C51 #51220C
square
#18510C #0C3A51 #450C51 #51220C
split-complementary
#18510C #220C51 #510C3A
monochromatic
#081B04 #081C04 #18510C #288614 #38BC1C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18510C#FFFFFF#000000##FFFFFF
##18510C1.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)
#534900
Deuteranopia (green-blind)
#4D4414
Tritanopia (blue-blind)
#0E4E44
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #18510c;
/* rgb */ color: rgb(24, 81, 12);
/* oklch */ color: oklch(38.3% 0.115 140.7);
Tailwind
colors: {
  custom: {
    50: '#5e8251',
    500: '#18510c',
    950: '#000000',
  },
}
SCSS
$custom: #18510c;
$custom-light: #5e8251;
$custom-dark: #000000;
JSON
{
  "hex": "#18510c",
  "rgb": {
    "r": 24,
    "g": 81,
    "b": 12
  },
  "hsl": {
    "h": 109.565,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.38312,
    "c": 0.11451,
    "h": 140.7
  },
  "luminance": 0.06106
}

Semantic roles & 50–950 ramp

primary
#18510C
secondary
#7C2C8C
accent
#37F1D1
background
#F5F8F4
surface
#EAEFE7
border
#C6CAC3
text
#050A02
muted
#797C78

Preview Lab

Preview with #18510C

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

Preview Lab → · Contrast checker → · Palette generator →

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