#183F28#183F28

#183F28 is a dark, moderate green. Relative luminance 0.039; OKLCH L 33.2% C 0.061 H 155.2°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#183F28
RGBrgb(24, 63, 40)
HSLhsl(145, 45%, 17%)
HSVhsv(145, 62%, 25%)
CMYKcmyk(61.9%, 0%, 36.5%, 75.3%)
CIE-LABlab(23.35, -20.16, 10.05)
CIE-LCHlch(23.35, 22.53, 153.51°)
OKLaboklab(33.22% -0.0549 0.0254)
OKLCHoklch(33.22% 0.061 155.2)
XYZxyz(2.5370, 3.9022, 2.6266)
Luminance0.0390 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183F28 #3F182F
analogous
#1C3F18 #183F28 #183F3C
triadic
#183F28 #28183F #3F2818
tetradic
#183F28 #181C3F #3F182F #3F3C18
square
#183F28 #181C3F #3F182F #3F3C18
split-complementary
#183F28 #3C183F #3F181C
monochromatic
#08160E #08160E #183F28 #296B44 #3A9860

Accessibility & contrast

On white

11.80
#183F28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#183F28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183F28
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183F28#FFFFFF#000000##FFFFFF
##183F281.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3A27
Deuteranopia (green-blind)
#393629
Tritanopia (blue-blind)
#0D3E39
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #183f28;
/* rgb */ color: rgb(24, 63, 40);
/* oklch */ color: oklch(33.2% 0.061 155.2);
Tailwind
colors: {
  custom: {
    50: '#597462',
    500: '#183f28',
    950: '#000000',
  },
}
SCSS
$custom: #183f28;
$custom-light: #597462;
$custom-dark: #000000;
JSON
{
  "hex": "#183f28",
  "rgb": {
    "r": 24,
    "g": 63,
    "b": 40
  },
  "hsl": {
    "h": 144.615,
    "s": 44.828,
    "l": 17.059
  },
  "oklch": {
    "l": 0.33217,
    "c": 0.06051,
    "h": 155.2
  },
  "luminance": 0.03902
}

Semantic roles & 50–950 ramp

primary
#183F28
secondary
#753D5E
accent
#53A0D5
background
#F5F7F5
surface
#E9EDEA
border
#C5C8C6
text
#040805
muted
#797B79

Preview Lab

Preview with #183F28

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

Preview Lab → · Contrast checker → · Palette generator →

#183F28 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva