#18330C#18330C

#18330C is a dark, moderate green. Relative luminance 0.026; OKLCH L 28.9% C 0.071 H 137.5°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#18330C
RGBrgb(24, 51, 12)
HSLhsl(102, 62%, 12%)
HSVhsv(102, 76%, 20%)
CMYKcmyk(52.9%, 0%, 76.5%, 80%)
CIE-LABlab(18.31, -19.05, 20.68)
CIE-LCHlch(18.31, 28.12, 132.64°)
OKLaboklab(28.94% -0.0526 0.0483)
OKLCHoklch(28.94% 0.071 137.5)
XYZxyz(1.6268, 2.5883, 0.7616)
Luminance0.0259 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18330C #270C33
analogous
#2C330C #18330C #0C3313
triadic
#18330C #0C1833 #330C18
tetradic
#18330C #0C2C33 #270C33 #33130C
square
#18330C #0C2C33 #270C33 #33130C
split-complementary
#18330C #130C33 #330C2C
monochromatic
#0C1906 #0C1906 #18330C #2F6518 #479623

Accessibility & contrast

On white

13.84
#18330C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#18330C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18330C
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18330C#FFFFFF#000000##FFFFFF
##18330C1.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352E07
Deuteranopia (green-blind)
#312C0F
Tritanopia (blue-blind)
#16312B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #18330c;
/* rgb */ color: rgb(24, 51, 12);
/* oklch */ color: oklch(28.9% 0.071 137.5);
Tailwind
colors: {
  custom: {
    50: '#586b4d',
    500: '#18330c',
    950: '#000000',
  },
}
SCSS
$custom: #18330c;
$custom-light: #586b4d;
$custom-dark: #000000;
JSON
{
  "hex": "#18330c",
  "rgb": {
    "r": 24,
    "g": 51,
    "b": 12
  },
  "hsl": {
    "h": 101.538,
    "s": 61.905,
    "l": 12.353
  },
  "oklch": {
    "l": 0.2894,
    "c": 0.07141,
    "h": 137.5
  },
  "luminance": 0.02588
}

Semantic roles & 50–950 ramp

primary
#18330C
secondary
#5A2C6F
accent
#43E5B3
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #18330C

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

Preview Lab → · Contrast checker → · Palette generator →

#18330C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva