#18310A#18310A

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

Color values

HEX#18310A
RGBrgb(24, 49, 10)
HSLhsl(98, 66%, 12%)
HSVhsv(98, 80%, 19%)
CMYKcmyk(51%, 0%, 79.6%, 80.8%)
CIE-LABlab(17.52, -18.24, 20.59)
CIE-LCHlch(17.52, 27.51, 131.53°)
OKLaboklab(28.28% -0.0506 0.0484)
OKLCHoklch(28.28% 0.07 136.3)
XYZxyz(1.5297, 2.4126, 0.6722)
Luminance0.0241 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18310A #230A31
analogous
#2C310A #18310A #0A3110
triadic
#18310A #0A1831 #310A18
tetradic
#18310A #0A2C31 #230A31 #31100A
square
#18310A #0A2C31 #230A31 #31100A
split-complementary
#18310A #100A31 #310A2C
monochromatic
#0C1905 #0C1905 #18310A #316414 #4A971F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #18310a;
/* rgb */ color: rgb(24, 49, 10);
/* oklch */ color: oklch(28.3% 0.070 136.3);
Tailwind
colors: {
  custom: {
    50: '#57694c',
    500: '#18310a',
    950: '#000000',
  },
}
SCSS
$custom: #18310a;
$custom-light: #57694c;
$custom-dark: #000000;
JSON
{
  "hex": "#18310a",
  "rgb": {
    "r": 24,
    "g": 49,
    "b": 10
  },
  "hsl": {
    "h": 98.462,
    "s": 66.102,
    "l": 11.569
  },
  "oklch": {
    "l": 0.28283,
    "c": 0.07001,
    "h": 136.3
  },
  "luminance": 0.02413
}

Semantic roles & 50–950 ramp

primary
#18310A
secondary
#55296E
accent
#3FE9AC
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #18310A

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

Preview Lab → · Contrast checker → · Palette generator →

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