#18451C#18451C

#18451C is a dark, moderate green. Relative luminance 0.045; OKLCH L 34.8% C 0.084 H 145.1°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#18451C
RGBrgb(24, 69, 28)
HSLhsl(125, 48%, 18%)
HSVhsv(125, 65%, 27%)
CMYKcmyk(65.2%, 0%, 59.4%, 72.9%)
CIE-LABlab(25.36, -25.46, 20.08)
CIE-LCHlch(25.36, 32.43, 141.74°)
OKLaboklab(34.8% -0.069 0.0482)
OKLCHoklch(34.8% 0.084 145.1)
XYZxyz(2.7142, 4.5340, 1.8305)
Luminance0.0453 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18451C #451841
analogous
#2A4518 #18451C #184532
triadic
#18451C #1C1845 #451C18
tetradic
#18451C #182A45 #451841 #453218
square
#18451C #182A45 #451841 #453218
split-complementary
#18451C #321845 #45182A
monochromatic
#081709 #08180A #18451C #28722E #38A041

Accessibility & contrast

On white

11.01
#18451C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#18451C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18451C
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18451C#FFFFFF#000000##FFFFFF
##18451C1.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463F18
Deuteranopia (green-blind)
#403B1F
Tritanopia (blue-blind)
#0F433C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #18451c;
/* rgb */ color: rgb(24, 69, 28);
/* oklch */ color: oklch(34.8% 0.084 145.1);
Tailwind
colors: {
  custom: {
    50: '#5a7959',
    500: '#18451c',
    950: '#000000',
  },
}
SCSS
$custom: #18451c;
$custom-light: #5a7959;
$custom-dark: #000000;
JSON
{
  "hex": "#18451c",
  "rgb": {
    "r": 24,
    "g": 69,
    "b": 28
  },
  "hsl": {
    "h": 125.333,
    "s": 48.387,
    "l": 18.235
  },
  "oklch": {
    "l": 0.348,
    "c": 0.08415,
    "h": 145.1
  },
  "luminance": 0.04534
}

Semantic roles & 50–950 ramp

primary
#18451C
secondary
#7C3D76
accent
#50CCD8
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#040903
muted
#797B78

Preview Lab

Preview with #18451C

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

Preview Lab → · Contrast checker → · Palette generator →

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