#18300F#18300F

#18300F is a dark, moderate green. Relative luminance 0.023; OKLCH L 28.0% C 0.063 H 138.0°. Best body text is #FFFFFF at 14.30:1 contrast (WCAG AA passes).

Color values

HEX#18300F
RGBrgb(24, 48, 15)
HSLhsl(104, 52%, 12%)
HSVhsv(104, 69%, 19%)
CMYKcmyk(50%, 0%, 68.7%, 81.2%)
CIE-LABlab(17.19, -17.10, 17.85)
CIE-LCHlch(17.19, 24.72, 133.76°)
OKLaboklab(28.03% -0.047 0.0424)
OKLCHoklch(28.03% 0.063 138)
XYZxyz(1.5198, 2.3425, 0.8239)
Luminance0.0234 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18300F #270F30
analogous
#29300F #18300F #0F3016
triadic
#18300F #0F1830 #300F18
tetradic
#18300F #0F2930 #270F30 #30160F
square
#18300F #0F2930 #270F30 #30160F
split-complementary
#18300F #160F30 #300F29
monochromatic
#0C1707 #0C1707 #18300F #2F5F1E #478D2C

Accessibility & contrast

On white

14.30
#18300F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18300F
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18300F#FFFFFF#000000##FFFFFF
##18300F1.0014.301.4714.30
#FFFFFF14.301.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322C0C
Deuteranopia (green-blind)
#2E2A11
Tritanopia (blue-blind)
#172E29
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #18300f;
/* rgb */ color: rgb(24, 48, 15);
/* oklch */ color: oklch(28.0% 0.063 138.0);
Tailwind
colors: {
  custom: {
    50: '#57684e',
    500: '#18300f',
    950: '#000000',
  },
}
SCSS
$custom: #18300f;
$custom-light: #57684e;
$custom-dark: #000000;
JSON
{
  "hex": "#18300f",
  "rgb": {
    "r": 24,
    "g": 48,
    "b": 15
  },
  "hsl": {
    "h": 103.636,
    "s": 52.381,
    "l": 12.353
  },
  "oklch": {
    "l": 0.28033,
    "c": 0.0633,
    "h": 138
  },
  "luminance": 0.02343
}

Semantic roles & 50–950 ramp

primary
#18300F
secondary
#5A316A
accent
#4CDCB5
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #18300F

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

Preview Lab → · Contrast checker → · Palette generator →

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