#184F1F#184F1F

#184F1F is a dark, moderate green. Relative luminance 0.059; OKLCH L 37.9% C 0.096 H 145.5°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#184F1F
RGBrgb(24, 79, 31)
HSLhsl(128, 53%, 20%)
HSVhsv(128, 70%, 31%)
CMYKcmyk(69.6%, 0%, 60.8%, 69%)
CIE-LABlab(29.12, -29.42, 22.90)
CIE-LCHlch(29.12, 37.28, 142.10°)
OKLaboklab(37.91% -0.0796 0.0546)
OKLCHoklch(37.91% 0.096 145.5)
XYZxyz(3.4198, 5.8847, 2.2517)
Luminance0.0588 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#184F1F #4F1848
analogous
#2D4F18 #184F1F #184F3A
triadic
#184F1F #1F184F #4F1F18
tetradic
#184F1F #182D4F #4F1848 #4F3A18
square
#184F1F #182D4F #4F1848 #4F3A18
split-complementary
#184F1F #3A184F #4F182D
monochromatic
#071709 #0A200D #184F1F #267E31 #35AD44

Accessibility & contrast

On white

9.65
#184F1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#184F1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #184F1F
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##184F1F#FFFFFF#000000##FFFFFF
##184F1F1.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50471A
Deuteranopia (green-blind)
#494323
Tritanopia (blue-blind)
#0A4D44
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #184f1f;
/* rgb */ color: rgb(24, 79, 31);
/* oklch */ color: oklch(37.9% 0.096 145.5);
Tailwind
colors: {
  custom: {
    50: '#5d815c',
    500: '#184f1f',
    950: '#000000',
  },
}
SCSS
$custom: #184f1f;
$custom-light: #5d815c;
$custom-dark: #000000;
JSON
{
  "hex": "#184f1f",
  "rgb": {
    "r": 24,
    "g": 79,
    "b": 31
  },
  "hsl": {
    "h": 127.636,
    "s": 53.398,
    "l": 20.196
  },
  "oklch": {
    "l": 0.3791,
    "c": 0.09649,
    "h": 145.5
  },
  "luminance": 0.05885
}

Semantic roles & 50–950 ramp

primary
#184F1F
secondary
#863D7D
accent
#4BCADD
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #184F1F

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

Preview Lab → · Contrast checker → · Palette generator →

#184F1F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva