#18452E#18452E

#18452E is a dark, moderate green. Relative luminance 0.046; OKLCH L 35.2% C 0.064 H 158.2°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#18452E
RGBrgb(24, 69, 46)
HSLhsl(149, 48%, 18%)
HSVhsv(149, 65%, 27%)
CMYKcmyk(65.2%, 0%, 33.3%, 72.9%)
CIE-LABlab(25.71, -21.79, 9.40)
CIE-LCHlch(25.71, 23.73, 156.66°)
OKLaboklab(35.19% -0.0595 0.0239)
OKLCHoklch(35.19% 0.064 158.2)
XYZxyz(2.9977, 4.6474, 3.3233)
Luminance0.0465 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18452E #45182F
analogous
#184518 #18452E #184544
triadic
#18452E #2E1845 #452E18
tetradic
#18452E #181845 #45182F #454418
square
#18452E #181845 #45182F #454418
split-complementary
#18452E #441845 #451818
monochromatic
#08170F #081810 #18452E #28724C #38A06B

Accessibility & contrast

On white

10.88
#18452E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#18452E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18452E
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18452E#FFFFFF#000000##FFFFFF
##18452E1.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44402D
Deuteranopia (green-blind)
#3E3B2F
Tritanopia (blue-blind)
#07453F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #18452e;
/* rgb */ color: rgb(24, 69, 46);
/* oklch */ color: oklch(35.2% 0.064 158.2);
Tailwind
colors: {
  custom: {
    50: '#5a7966',
    500: '#18452e',
    950: '#000000',
  },
}
SCSS
$custom: #18452e;
$custom-light: #5a7966;
$custom-dark: #000000;
JSON
{
  "hex": "#18452e",
  "rgb": {
    "r": 24,
    "g": 69,
    "b": 46
  },
  "hsl": {
    "h": 149.333,
    "s": 48.387,
    "l": 18.235
  },
  "oklch": {
    "l": 0.35193,
    "c": 0.06412,
    "h": 158.2
  },
  "luminance": 0.04648
}

Semantic roles & 50–950 ramp

primary
#18452E
secondary
#7C3D5D
accent
#5095D8
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#040906
muted
#797B7A

Preview Lab

Preview with #18452E

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

Preview Lab → · Contrast checker → · Palette generator →

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