#18451A#18451A

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

Color values

HEX#18451A
RGBrgb(24, 69, 26)
HSLhsl(123, 48%, 18%)
HSVhsv(123, 65%, 27%)
CMYKcmyk(65.2%, 0%, 62.3%, 72.9%)
CIE-LABlab(25.34, -25.78, 21.20)
CIE-LCHlch(25.34, 33.37, 140.57°)
OKLaboklab(34.77% -0.0699 0.0505)
OKLCHoklch(34.77% 0.086 144.2)
XYZxyz(2.6911, 4.5248, 1.7086)
Luminance0.0452 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18451A #451843
analogous
#2C4518 #18451A #184530
triadic
#18451A #1A1845 #451A18
tetradic
#18451A #182C45 #451843 #453018
square
#18451A #182C45 #451843 #453018
split-complementary
#18451A #301845 #45182C
monochromatic
#081709 #081809 #18451A #28722B #38A03C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18451A#FFFFFF#000000##FFFFFF
##18451A1.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)
#463E16
Deuteranopia (green-blind)
#413B1D
Tritanopia (blue-blind)
#10433B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #18451a;
/* rgb */ color: rgb(24, 69, 26);
/* oklch */ color: oklch(34.8% 0.086 144.2);
Tailwind
colors: {
  custom: {
    50: '#5b7958',
    500: '#18451a',
    950: '#000000',
  },
}
SCSS
$custom: #18451a;
$custom-light: #5b7958;
$custom-dark: #000000;
JSON
{
  "hex": "#18451a",
  "rgb": {
    "r": 24,
    "g": 69,
    "b": 26
  },
  "hsl": {
    "h": 122.667,
    "s": 48.387,
    "l": 18.235
  },
  "oklch": {
    "l": 0.34768,
    "c": 0.08624,
    "h": 144.2
  },
  "luminance": 0.04525
}

Semantic roles & 50–950 ramp

primary
#18451A
secondary
#7C3D79
accent
#50D2D8
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#040903
muted
#797B78

Preview Lab

Preview with #18451A

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

Preview Lab → · Contrast checker → · Palette generator →

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