#184828#184828

#184828 is a dark, moderate green. Relative luminance 0.050; OKLCH L 36.0% C 0.076 H 151.6°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#184828
RGBrgb(24, 72, 40)
HSLhsl(140, 50%, 19%)
HSVhsv(140, 67%, 28%)
CMYKcmyk(66.7%, 0%, 44.4%, 71.8%)
CIE-LABlab(26.68, -24.63, 14.51)
CIE-LCHlch(26.68, 28.58, 149.49°)
OKLaboklab(35.95% -0.0666 0.0361)
OKLCHoklch(35.95% 0.076 151.6)
XYZxyz(3.0768, 4.9818, 2.8065)
Luminance0.0498 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#184828 #481838
analogous
#204818 #184828 #184840
triadic
#184828 #281848 #482818
tetradic
#184828 #182048 #481838 #484018
square
#184828 #182048 #481838 #484018
split-complementary
#184828 #401848 #481820
monochromatic
#08170D #091A0F #184828 #277642 #37A45B

Accessibility & contrast

On white

10.52
#184828 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#184828 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #184828
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##184828#FFFFFF#000000##FFFFFF
##1848281.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484226
Deuteranopia (green-blind)
#423D2A
Tritanopia (blue-blind)
#094740
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #184828;
/* rgb */ color: rgb(24, 72, 40);
/* oklch */ color: oklch(36.0% 0.076 151.6);
Tailwind
colors: {
  custom: {
    50: '#5b7b62',
    500: '#184828',
    950: '#000000',
  },
}
SCSS
$custom: #184828;
$custom-light: #5b7b62;
$custom-dark: #000000;
JSON
{
  "hex": "#184828",
  "rgb": {
    "r": 24,
    "g": 72,
    "b": 40
  },
  "hsl": {
    "h": 140,
    "s": 50,
    "l": 18.824
  },
  "oklch": {
    "l": 0.35951,
    "c": 0.07577,
    "h": 151.6
  },
  "luminance": 0.04982
}

Semantic roles & 50–950 ramp

primary
#184828
secondary
#7F3D69
accent
#4EABDA
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#040905
muted
#797B79

Preview Lab

Preview with #184828

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

Preview Lab → · Contrast checker → · Palette generator →

#184828 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva