#184F31#184F31

#184F31 is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.3% C 0.077 H 155.8°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#184F31
RGBrgb(24, 79, 49)
HSLhsl(147, 53%, 20%)
HSVhsv(147, 70%, 31%)
CMYKcmyk(69.6%, 0%, 38%, 69%)
CIE-LABlab(29.43, -25.96, 12.58)
CIE-LCHlch(29.43, 28.85, 154.14°)
OKLaboklab(38.27% -0.0704 0.0317)
OKLCHoklch(38.27% 0.077 155.8)
XYZxyz(3.7267, 6.0075, 3.8683)
Luminance0.0601 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#184F31 #4F1836
analogous
#1A4F18 #184F31 #184F4C
triadic
#184F31 #31184F #4F3118
tetradic
#184F31 #181A4F #4F1836 #4F4C18
square
#184F31 #181A4F #4F1836 #4F4C18
split-complementary
#184F31 #4C184F #4F181A
monochromatic
#07170F #0A2014 #184F31 #267E4E #35AD6B

Accessibility & contrast

On white

9.54
#184F31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #184F31
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##184F31#FFFFFF#000000##FFFFFF
##184F311.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F482F
Deuteranopia (green-blind)
#474333
Tritanopia (blue-blind)
#004E47
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #184f31;
/* rgb */ color: rgb(24, 79, 49);
/* oklch */ color: oklch(38.3% 0.077 155.8);
Tailwind
colors: {
  custom: {
    50: '#5c8169',
    500: '#184f31',
    950: '#000000',
  },
}
SCSS
$custom: #184f31;
$custom-light: #5c8169;
$custom-dark: #000000;
JSON
{
  "hex": "#184f31",
  "rgb": {
    "r": 24,
    "g": 79,
    "b": 49
  },
  "hsl": {
    "h": 147.273,
    "s": 53.398,
    "l": 20.196
  },
  "oklch": {
    "l": 0.38269,
    "c": 0.07723,
    "h": 155.8
  },
  "luminance": 0.06008
}

Semantic roles & 50–950 ramp

primary
#184F31
secondary
#863D65
accent
#4B9BDD
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #184F31

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

Preview Lab → · Contrast checker → · Palette generator →

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