#18451D#18451D

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

Color values

HEX#18451D
RGBrgb(24, 69, 29)
HSLhsl(127, 48%, 18%)
HSVhsv(127, 65%, 27%)
CMYKcmyk(65.2%, 0%, 58%, 72.9%)
CIE-LABlab(25.38, -25.30, 19.52)
CIE-LCHlch(25.38, 31.95, 142.35°)
OKLaboklab(34.82% -0.0685 0.047)
OKLCHoklch(34.82% 0.083 145.6)
XYZxyz(2.7264, 4.5389, 1.8946)
Luminance0.0454 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18451D #451840
analogous
#294518 #18451D #184533
triadic
#18451D #1D1845 #451D18
tetradic
#18451D #182945 #451840 #453318
square
#18451D #182945 #451840 #453318
split-complementary
#18451D #331845 #451829
monochromatic
#08170A #08180A #18451D #287230 #38A043

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18451D#FFFFFF#000000##FFFFFF
##18451D1.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)
#463F1A
Deuteranopia (green-blind)
#403B20
Tritanopia (blue-blind)
#0F433C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #18451d;
/* rgb */ color: rgb(24, 69, 29);
/* oklch */ color: oklch(34.8% 0.083 145.6);
Tailwind
colors: {
  custom: {
    50: '#5a795a',
    500: '#18451d',
    950: '#000000',
  },
}
SCSS
$custom: #18451d;
$custom-light: #5a795a;
$custom-dark: #000000;
JSON
{
  "hex": "#18451d",
  "rgb": {
    "r": 24,
    "g": 69,
    "b": 29
  },
  "hsl": {
    "h": 126.667,
    "s": 48.387,
    "l": 18.235
  },
  "oklch": {
    "l": 0.34817,
    "c": 0.08308,
    "h": 145.6
  },
  "luminance": 0.04539
}

Semantic roles & 50–950 ramp

primary
#18451D
secondary
#7C3D75
accent
#50C9D8
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#040904
muted
#797B79

Preview Lab

Preview with #18451D

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

Preview Lab → · Contrast checker → · Palette generator →

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