#18300A#18300A

#18300A is a dark, moderate yellow-green. Relative luminance 0.023; OKLCH L 28.0% C 0.068 H 136.0°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#18300A
RGBrgb(24, 48, 10)
HSLhsl(98, 66%, 11%)
HSVhsv(98, 79%, 19%)
CMYKcmyk(50%, 0%, 79.2%, 81.2%)
CIE-LABlab(17.13, -17.71, 20.12)
CIE-LCHlch(17.13, 26.81, 131.36°)
OKLaboklab(27.97% -0.0492 0.0475)
OKLCHoklch(27.97% 0.068 136)
XYZxyz(1.4884, 2.3299, 0.6584)
Luminance0.0233 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18300A #220A30
analogous
#2B300A #18300A #0A300F
triadic
#18300A #0A1830 #300A18
tetradic
#18300A #0A2B30 #220A30 #300F0A
square
#18300A #0A2B30 #220A30 #300F0A
split-complementary
#18300A #0F0A30 #300A2B
monochromatic
#0D1905 #0D1905 #18300A #316315 #4B951F

Accessibility & contrast

On white

14.32
#18300A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#18300A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18300A
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18300A#FFFFFF#000000##FFFFFF
##18300A1.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322B06
Deuteranopia (green-blind)
#2F290D
Tritanopia (blue-blind)
#172E28
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #18300a;
/* rgb */ color: rgb(24, 48, 10);
/* oklch */ color: oklch(28.0% 0.068 136.0);
Tailwind
colors: {
  custom: {
    50: '#57684c',
    500: '#18300a',
    950: '#000000',
  },
}
SCSS
$custom: #18300a;
$custom-light: #57684c;
$custom-dark: #000000;
JSON
{
  "hex": "#18300a",
  "rgb": {
    "r": 24,
    "g": 48,
    "b": 10
  },
  "hsl": {
    "h": 97.895,
    "s": 65.517,
    "l": 11.373
  },
  "oklch": {
    "l": 0.27965,
    "c": 0.06837,
    "h": 136
  },
  "luminance": 0.0233
}

Semantic roles & 50–950 ramp

primary
#18300A
secondary
#54296D
accent
#3FE8AA
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #18300A

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

Preview Lab → · Contrast checker → · Palette generator →

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