#18510E#18510E

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

Color values

HEX#18510E
RGBrgb(24, 81, 14)
HSLhsl(111, 71%, 19%)
HSVhsv(111, 83%, 32%)
CMYKcmyk(70.4%, 0%, 82.7%, 68.2%)
CIE-LABlab(29.69, -32.22, 31.75)
CIE-LCHlch(29.69, 45.23, 135.42°)
OKLaboklab(38.33% -0.0881 0.0713)
OKLCHoklch(38.33% 0.113 141)
XYZxyz(3.3982, 6.1104, 1.4157)
Luminance0.0611 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18510E #470E51
analogous
#39510E #18510E #0E5125
triadic
#18510E #0E1851 #510E18
tetradic
#18510E #0E3951 #470E51 #51250E
square
#18510E #0E3951 #470E51 #51250E
split-complementary
#18510E #250E51 #510E39
monochromatic
#081A05 #091D05 #18510E #278517 #37B920

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18510E#FFFFFF#000000##FFFFFF
##18510E1.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)
#534902
Deuteranopia (green-blind)
#4C4415
Tritanopia (blue-blind)
#0E4E44
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #18510e;
/* rgb */ color: rgb(24, 81, 14);
/* oklch */ color: oklch(38.3% 0.113 141.0);
Tailwind
colors: {
  custom: {
    50: '#5e8252',
    500: '#18510e',
    950: '#000000',
  },
}
SCSS
$custom: #18510e;
$custom-light: #5e8252;
$custom-dark: #000000;
JSON
{
  "hex": "#18510e",
  "rgb": {
    "r": 24,
    "g": 81,
    "b": 14
  },
  "hsl": {
    "h": 111.045,
    "s": 70.526,
    "l": 18.627
  },
  "oklch": {
    "l": 0.38327,
    "c": 0.11333,
    "h": 141
  },
  "luminance": 0.06111
}

Semantic roles & 50–950 ramp

primary
#18510E
secondary
#7E2F8C
accent
#3AEDD3
background
#F5F8F4
surface
#EAEFE7
border
#C6CAC3
text
#050A02
muted
#797C78

Preview Lab

Preview with #18510E

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

Preview Lab → · Contrast checker → · Palette generator →

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