#18530C#18530C

#18530C is a dark, moderate green. Relative luminance 0.064; OKLCH L 38.9% C 0.117 H 140.8°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#18530C
RGBrgb(24, 83, 12)
HSLhsl(110, 75%, 19%)
HSVhsv(110, 86%, 33%)
CMYKcmyk(71.1%, 0%, 85.5%, 67.5%)
CIE-LABlab(30.42, -33.16, 33.20)
CIE-LCHlch(30.42, 46.92, 134.97°)
OKLaboklab(38.92% -0.0907 0.074)
OKLCHoklch(38.92% 0.117 140.8)
XYZxyz(3.5361, 6.4069, 1.3981)
Luminance0.0641 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18530C #470C53
analogous
#3B530C #18530C #0C5323
triadic
#18530C #0C1853 #530C18
tetradic
#18530C #0C3B53 #470C53 #53230C
square
#18530C #0C3B53 #470C53 #53230C
split-complementary
#18530C #230C53 #530C3B
monochromatic
#081B04 #091E04 #18530C #278814 #37BE1B

Accessibility & contrast

On white

9.20
#18530C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#18530C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18530C
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18530C#FFFFFF#000000##FFFFFF
##18530C1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B00
Deuteranopia (green-blind)
#4E4614
Tritanopia (blue-blind)
#0D5046
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #18530c;
/* rgb */ color: rgb(24, 83, 12);
/* oklch */ color: oklch(38.9% 0.117 140.8);
Tailwind
colors: {
  custom: {
    50: '#5f8451',
    500: '#18530c',
    950: '#000000',
  },
}
SCSS
$custom: #18530c;
$custom-light: #5f8451;
$custom-dark: #000000;
JSON
{
  "hex": "#18530c",
  "rgb": {
    "r": 24,
    "g": 83,
    "b": 12
  },
  "hsl": {
    "h": 109.859,
    "s": 74.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.38925,
    "c": 0.11708,
    "h": 140.8
  },
  "luminance": 0.06407
}

Semantic roles & 50–950 ramp

primary
#18530C
secondary
#7E2D8E
accent
#36F1D2
background
#F5F8F4
surface
#EAEFE7
border
#C6CAC3
text
#050B02
muted
#797C78

Preview Lab

Preview with #18530C

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

Preview Lab → · Contrast checker → · Palette generator →

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