#18310F#18310F

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

Color values

HEX#18310F
RGBrgb(24, 49, 15)
HSLhsl(104, 53%, 13%)
HSVhsv(104, 69%, 19%)
CMYKcmyk(51%, 0%, 69.4%, 80.8%)
CIE-LABlab(17.58, -17.63, 18.32)
CIE-LCHlch(17.58, 25.43, 133.89°)
OKLaboklab(28.35% -0.0485 0.0433)
OKLCHoklch(28.35% 0.065 138.2)
XYZxyz(1.5612, 2.4252, 0.8377)
Luminance0.0243 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18310F #280F31
analogous
#29310F #18310F #0F3117
triadic
#18310F #0F1831 #310F18
tetradic
#18310F #0F2931 #280F31 #31170F
square
#18310F #0F2931 #280F31 #31170F
split-complementary
#18310F #170F31 #310F29
monochromatic
#0B1707 #0B1707 #18310F #2F601D #468F2C

Accessibility & contrast

On white

14.14
#18310F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#18310F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18310F
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18310F#FFFFFF#000000##FFFFFF
##18310F1.0014.141.4914.14
#FFFFFF14.141.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332C0C
Deuteranopia (green-blind)
#2F2A12
Tritanopia (blue-blind)
#162F2A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #18310f;
/* rgb */ color: rgb(24, 49, 15);
/* oklch */ color: oklch(28.3% 0.065 138.2);
Tailwind
colors: {
  custom: {
    50: '#57694e',
    500: '#18310f',
    950: '#000000',
  },
}
SCSS
$custom: #18310f;
$custom-light: #57694e;
$custom-dark: #000000;
JSON
{
  "hex": "#18310f",
  "rgb": {
    "r": 24,
    "g": 49,
    "b": 15
  },
  "hsl": {
    "h": 104.118,
    "s": 53.125,
    "l": 12.549
  },
  "oklch": {
    "l": 0.28349,
    "c": 0.06504,
    "h": 138.2
  },
  "luminance": 0.02425
}

Semantic roles & 50–950 ramp

primary
#18310F
secondary
#5C316B
accent
#4BDDB6
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #18310F

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

Preview Lab → · Contrast checker → · Palette generator →

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