#18310D#18310D

#18310D is a dark, moderate green. Relative luminance 0.024; OKLCH L 28.3% C 0.067 H 137.4°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#18310D
RGBrgb(24, 49, 13)
HSLhsl(102, 58%, 12%)
HSVhsv(102, 73%, 19%)
CMYKcmyk(51%, 0%, 73.5%, 80.8%)
CIE-LABlab(17.55, -17.89, 19.30)
CIE-LCHlch(17.55, 26.32, 132.83°)
OKLaboklab(28.32% -0.0494 0.0455)
OKLCHoklch(28.32% 0.067 137.4)
XYZxyz(1.5476, 2.4198, 0.7662)
Luminance0.0242 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18310D #260D31
analogous
#2A310D #18310D #0D3114
triadic
#18310D #0D1831 #310D18
tetradic
#18310D #0D2A31 #260D31 #31140D
square
#18310D #0D2A31 #260D31 #31140D
split-complementary
#18310D #140D31 #310D2A
monochromatic
#0C1806 #0C1806 #18310D #30611A #479227

Accessibility & contrast

On white

14.15
#18310D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#18310D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18310D
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18310D#FFFFFF#000000##FFFFFF
##18310D1.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332C09
Deuteranopia (green-blind)
#2F2A10
Tritanopia (blue-blind)
#172F29
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #18310d;
/* rgb */ color: rgb(24, 49, 13);
/* oklch */ color: oklch(28.3% 0.067 137.4);
Tailwind
colors: {
  custom: {
    50: '#57694d',
    500: '#18310d',
    950: '#000000',
  },
}
SCSS
$custom: #18310d;
$custom-light: #57694d;
$custom-dark: #000000;
JSON
{
  "hex": "#18310d",
  "rgb": {
    "r": 24,
    "g": 49,
    "b": 13
  },
  "hsl": {
    "h": 101.667,
    "s": 58.065,
    "l": 12.157
  },
  "oklch": {
    "l": 0.2832,
    "c": 0.06713,
    "h": 137.4
  },
  "luminance": 0.0242
}

Semantic roles & 50–950 ramp

primary
#18310D
secondary
#592E6C
accent
#47E1B2
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #18310D

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

Preview Lab → · Contrast checker → · Palette generator →

#18310D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva