#18310B#18310B

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

Color values

HEX#18310B
RGBrgb(24, 49, 11)
HSLhsl(99, 63%, 12%)
HSVhsv(99, 78%, 19%)
CMYKcmyk(51%, 0%, 77.6%, 80.8%)
CIE-LABlab(17.53, -18.13, 20.18)
CIE-LCHlch(17.53, 27.13, 131.93°)
OKLaboklab(28.29% -0.0502 0.0475)
OKLCHoklch(28.29% 0.069 136.6)
XYZxyz(1.5354, 2.4149, 0.7018)
Luminance0.0242 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18310B #240B31
analogous
#2B310B #18310B #0B3111
triadic
#18310B #0B1831 #310B18
tetradic
#18310B #0B2B31 #240B31 #31110B
square
#18310B #0B2B31 #240B31 #31110B
split-complementary
#18310B #110B31 #310B2B
monochromatic
#0C1906 #0C1906 #18310B #306316 #499521

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18310B#FFFFFF#000000##FFFFFF
##18310B1.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)
#332C07
Deuteranopia (green-blind)
#302A0E
Tritanopia (blue-blind)
#172F29
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #18310b;
/* rgb */ color: rgb(24, 49, 11);
/* oklch */ color: oklch(28.3% 0.069 136.6);
Tailwind
colors: {
  custom: {
    50: '#57694c',
    500: '#18310b',
    950: '#000000',
  },
}
SCSS
$custom: #18310b;
$custom-light: #57694c;
$custom-dark: #000000;
JSON
{
  "hex": "#18310b",
  "rgb": {
    "r": 24,
    "g": 49,
    "b": 11
  },
  "hsl": {
    "h": 99.474,
    "s": 63.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.28294,
    "c": 0.06908,
    "h": 136.6
  },
  "luminance": 0.02415
}

Semantic roles & 50–950 ramp

primary
#18310B
secondary
#572A6E
accent
#41E6AE
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #18310B

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

Preview Lab → · Contrast checker → · Palette generator →

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