#18310C#18310C

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

Color values

HEX#18310C
RGBrgb(24, 49, 12)
HSLhsl(101, 61%, 12%)
HSVhsv(101, 76%, 19%)
CMYKcmyk(51%, 0%, 75.5%, 80.8%)
CIE-LABlab(17.54, -18.01, 19.76)
CIE-LCHlch(17.54, 26.74, 132.36°)
OKLaboklab(28.31% -0.0498 0.0465)
OKLCHoklch(28.31% 0.068 137)
XYZxyz(1.5413, 2.4173, 0.7331)
Luminance0.0242 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18310C #250C31
analogous
#2B310C #18310C #0C3113
triadic
#18310C #0C1831 #310C18
tetradic
#18310C #0C2B31 #250C31 #31130C
square
#18310C #0C2B31 #250C31 #31130C
split-complementary
#18310C #130C31 #310C2B
monochromatic
#0C1906 #0C1906 #18310C #306218 #489324

Accessibility & contrast

On white

14.16
#18310C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18310C
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18310C#FFFFFF#000000##FFFFFF
##18310C1.0014.161.4814.16
#FFFFFF14.161.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #18310c;
/* rgb */ color: rgb(24, 49, 12);
/* oklch */ color: oklch(28.3% 0.068 137.0);
Tailwind
colors: {
  custom: {
    50: '#57694d',
    500: '#18310c',
    950: '#000000',
  },
}
SCSS
$custom: #18310c;
$custom-light: #57694d;
$custom-dark: #000000;
JSON
{
  "hex": "#18310c",
  "rgb": {
    "r": 24,
    "g": 49,
    "b": 12
  },
  "hsl": {
    "h": 100.541,
    "s": 60.656,
    "l": 11.961
  },
  "oklch": {
    "l": 0.28307,
    "c": 0.06813,
    "h": 137
  },
  "luminance": 0.02417
}

Semantic roles & 50–950 ramp

primary
#18310C
secondary
#582C6D
accent
#44E4B0
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #18310C

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

Preview Lab → · Contrast checker → · Palette generator →

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