#18451F#18451F

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

Color values

HEX#18451F
RGBrgb(24, 69, 31)
HSLhsl(129, 48%, 18%)
HSVhsv(129, 65%, 27%)
CMYKcmyk(65.2%, 0%, 55.1%, 72.9%)
CIE-LABlab(25.41, -24.95, 18.37)
CIE-LCHlch(25.41, 30.99, 143.64°)
OKLaboklab(34.85% -0.0675 0.0446)
OKLCHoklch(34.85% 0.081 146.6)
XYZxyz(2.7520, 4.5491, 2.0291)
Luminance0.0455 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18451F #45183E
analogous
#274518 #18451F #184535
triadic
#18451F #1F1845 #451F18
tetradic
#18451F #182745 #45183E #453518
square
#18451F #182745 #45183E #453518
split-complementary
#18451F #351845 #451827
monochromatic
#08170A #08180B #18451F #287233 #38A048

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18451F#FFFFFF#000000##FFFFFF
##18451F1.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)
#463F1C
Deuteranopia (green-blind)
#403B22
Tritanopia (blue-blind)
#0E433C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #18451f;
/* rgb */ color: rgb(24, 69, 31);
/* oklch */ color: oklch(34.9% 0.081 146.6);
Tailwind
colors: {
  custom: {
    50: '#5a795b',
    500: '#18451f',
    950: '#000000',
  },
}
SCSS
$custom: #18451f;
$custom-light: #5a795b;
$custom-dark: #000000;
JSON
{
  "hex": "#18451f",
  "rgb": {
    "r": 24,
    "g": 69,
    "b": 31
  },
  "hsl": {
    "h": 129.333,
    "s": 48.387,
    "l": 18.235
  },
  "oklch": {
    "l": 0.34853,
    "c": 0.08092,
    "h": 146.6
  },
  "luminance": 0.04549
}

Semantic roles & 50–950 ramp

primary
#18451F
secondary
#7C3D72
accent
#50C3D8
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#040904
muted
#797B79

Preview Lab

Preview with #18451F

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

Preview Lab → · Contrast checker → · Palette generator →

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