#184F2F#184F2F

#184F2F is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.2% C 0.079 H 154.3°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#184F2F
RGBrgb(24, 79, 47)
HSLhsl(145, 53%, 20%)
HSVhsv(145, 70%, 31%)
CMYKcmyk(69.6%, 0%, 40.5%, 69%)
CIE-LABlab(29.39, -26.41, 13.77)
CIE-LCHlch(29.39, 29.78, 152.47°)
OKLaboklab(38.22% -0.0715 0.0345)
OKLCHoklch(38.22% 0.079 154.3)
XYZxyz(3.6854, 5.9910, 3.6509)
Luminance0.0599 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#184F2F #4F1838
analogous
#1C4F18 #184F2F #184F4A
triadic
#184F2F #2F184F #4F2F18
tetradic
#184F2F #181C4F #4F1838 #4F4A18
square
#184F2F #181C4F #4F1838 #4F4A18
split-complementary
#184F2F #4A184F #4F181C
monochromatic
#07170E #0A2013 #184F2F #267E4B #35AD67

Accessibility & contrast

On white

9.55
#184F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#184F2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #184F2F
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##184F2F#FFFFFF#000000##FFFFFF
##184F2F1.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F482D
Deuteranopia (green-blind)
#484331
Tritanopia (blue-blind)
#014E47
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #184f2f;
/* rgb */ color: rgb(24, 79, 47);
/* oklch */ color: oklch(38.2% 0.079 154.3);
Tailwind
colors: {
  custom: {
    50: '#5c8167',
    500: '#184f2f',
    950: '#000000',
  },
}
SCSS
$custom: #184f2f;
$custom-light: #5c8167;
$custom-dark: #000000;
JSON
{
  "hex": "#184f2f",
  "rgb": {
    "r": 24,
    "g": 79,
    "b": 47
  },
  "hsl": {
    "h": 145.091,
    "s": 53.398,
    "l": 20.196
  },
  "oklch": {
    "l": 0.38221,
    "c": 0.07939,
    "h": 154.3
  },
  "luminance": 0.05991
}

Semantic roles & 50–950 ramp

primary
#184F2F
secondary
#863D67
accent
#4BA0DD
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #184F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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