#18310E#18310E

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

Color values

HEX#18310E
RGBrgb(24, 49, 14)
HSLhsl(103, 56%, 12%)
HSVhsv(103, 71%, 19%)
CMYKcmyk(51%, 0%, 71.4%, 80.8%)
CIE-LABlab(17.56, -17.76, 18.82)
CIE-LCHlch(17.56, 25.88, 133.34°)
OKLaboklab(28.33% -0.0489 0.0444)
OKLCHoklch(28.33% 0.066 137.8)
XYZxyz(1.5542, 2.4224, 0.8011)
Luminance0.0242 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18310E #270E31
analogous
#2A310E #18310E #0E3115
triadic
#18310E #0E1831 #310E18
tetradic
#18310E #0E2A31 #270E31 #31150E
square
#18310E #0E2A31 #270E31 #31150E
split-complementary
#18310E #150E31 #310E2A
monochromatic
#0C1807 #0C1807 #18310E #2F611C #479029

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18310E#FFFFFF#000000##FFFFFF
##18310E1.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)
#332C0A
Deuteranopia (green-blind)
#2F2A11
Tritanopia (blue-blind)
#172F29
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #18310e;
/* rgb */ color: rgb(24, 49, 14);
/* oklch */ color: oklch(28.3% 0.066 137.8);
Tailwind
colors: {
  custom: {
    50: '#57694e',
    500: '#18310e',
    950: '#000000',
  },
}
SCSS
$custom: #18310e;
$custom-light: #57694e;
$custom-dark: #000000;
JSON
{
  "hex": "#18310e",
  "rgb": {
    "r": 24,
    "g": 49,
    "b": 14
  },
  "hsl": {
    "h": 102.857,
    "s": 55.556,
    "l": 12.353
  },
  "oklch": {
    "l": 0.28334,
    "c": 0.06609,
    "h": 137.8
  },
  "luminance": 0.02423
}

Semantic roles & 50–950 ramp

primary
#18310E
secondary
#5A2F6C
accent
#49DFB4
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #18310E

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

Preview Lab → · Contrast checker → · Palette generator →

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