#18451B#18451B

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

Color values

HEX#18451B
RGBrgb(24, 69, 27)
HSLhsl(124, 48%, 18%)
HSVhsv(124, 65%, 27%)
CMYKcmyk(65.2%, 0%, 60.9%, 72.9%)
CIE-LABlab(25.35, -25.62, 20.64)
CIE-LCHlch(25.35, 32.90, 141.14°)
OKLaboklab(34.78% -0.0695 0.0493)
OKLCHoklch(34.78% 0.085 144.6)
XYZxyz(2.7025, 4.5293, 1.7685)
Luminance0.0453 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18451B #451842
analogous
#2B4518 #18451B #184531
triadic
#18451B #1B1845 #451B18
tetradic
#18451B #182B45 #451842 #453118
square
#18451B #182B45 #451842 #453118
split-complementary
#18451B #311845 #45182B
monochromatic
#081709 #081809 #18451B #28722D #38A03F

Accessibility & contrast

On white

11.02
#18451B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18451B
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18451B#FFFFFF#000000##FFFFFF
##18451B1.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463E17
Deuteranopia (green-blind)
#413B1E
Tritanopia (blue-blind)
#0F433C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #18451b;
/* rgb */ color: rgb(24, 69, 27);
/* oklch */ color: oklch(34.8% 0.085 144.6);
Tailwind
colors: {
  custom: {
    50: '#5a7958',
    500: '#18451b',
    950: '#000000',
  },
}
SCSS
$custom: #18451b;
$custom-light: #5a7958;
$custom-dark: #000000;
JSON
{
  "hex": "#18451b",
  "rgb": {
    "r": 24,
    "g": 69,
    "b": 27
  },
  "hsl": {
    "h": 124,
    "s": 48.387,
    "l": 18.235
  },
  "oklch": {
    "l": 0.34784,
    "c": 0.08521,
    "h": 144.6
  },
  "luminance": 0.0453
}

Semantic roles & 50–950 ramp

primary
#18451B
secondary
#7C3D78
accent
#50CFD8
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#040903
muted
#797B78

Preview Lab

Preview with #18451B

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

Preview Lab → · Contrast checker → · Palette generator →

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