#18451E#18451E

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

Color values

HEX#18451E
RGBrgb(24, 69, 30)
HSLhsl(128, 48%, 18%)
HSVhsv(128, 65%, 27%)
CMYKcmyk(65.2%, 0%, 56.5%, 72.9%)
CIE-LABlab(25.39, -25.13, 18.95)
CIE-LCHlch(25.39, 31.47, 142.99°)
OKLaboklab(34.84% -0.068 0.0458)
OKLCHoklch(34.84% 0.082 146.1)
XYZxyz(2.7390, 4.5439, 1.9608)
Luminance0.0454 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18451E #45183F
analogous
#284518 #18451E #184534
triadic
#18451E #1E1845 #451E18
tetradic
#18451E #182845 #45183F #453418
square
#18451E #182845 #45183F #453418
split-complementary
#18451E #341845 #451828
monochromatic
#08170A #08180A #18451E #287232 #38A045

Accessibility & contrast

On white

11.00
#18451E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18451E
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18451E#FFFFFF#000000##FFFFFF
##18451E1.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463F1B
Deuteranopia (green-blind)
#403B21
Tritanopia (blue-blind)
#0E433C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #18451e;
/* rgb */ color: rgb(24, 69, 30);
/* oklch */ color: oklch(34.8% 0.082 146.1);
Tailwind
colors: {
  custom: {
    50: '#5a795a',
    500: '#18451e',
    950: '#000000',
  },
}
SCSS
$custom: #18451e;
$custom-light: #5a795a;
$custom-dark: #000000;
JSON
{
  "hex": "#18451e",
  "rgb": {
    "r": 24,
    "g": 69,
    "b": 30
  },
  "hsl": {
    "h": 128,
    "s": 48.387,
    "l": 18.235
  },
  "oklch": {
    "l": 0.34835,
    "c": 0.082,
    "h": 146.1
  },
  "luminance": 0.04544
}

Semantic roles & 50–950 ramp

primary
#18451E
secondary
#7C3D73
accent
#50C6D8
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#040904
muted
#797B79

Preview Lab

Preview with #18451E

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

Preview Lab → · Contrast checker → · Palette generator →

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