#185124#185124

#185124 is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.6% C 0.094 H 147.4°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#185124
RGBrgb(24, 81, 36)
HSLhsl(133, 54%, 21%)
HSVhsv(133, 70%, 32%)
CMYKcmyk(70.4%, 0%, 55.6%, 68.2%)
CIE-LABlab(29.93, -29.47, 21.04)
CIE-LCHlch(29.93, 36.21, 144.47°)
OKLaboklab(38.6% -0.0795 0.0509)
OKLCHoklch(38.6% 0.094 147.4)
XYZxyz(3.6373, 6.2061, 2.6749)
Luminance0.0621 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185124 #511845
analogous
#285118 #185124 #185140
triadic
#185124 #241851 #512418
tetradic
#185124 #182851 #511845 #514018
square
#185124 #182851 #511845 #514018
split-complementary
#185124 #401851 #511828
monochromatic
#07180A #0A220F #185124 #268039 #34AF4E

Accessibility & contrast

On white

9.37
#185124 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#185124 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #185124
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185124#FFFFFF#000000##FFFFFF
##1851241.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524920
Deuteranopia (green-blind)
#4B4527
Tritanopia (blue-blind)
#074F47
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #185124;
/* rgb */ color: rgb(24, 81, 36);
/* oklch */ color: oklch(38.6% 0.094 147.4);
Tailwind
colors: {
  custom: {
    50: '#5d8260',
    500: '#185124',
    950: '#000000',
  },
}
SCSS
$custom: #185124;
$custom-light: #5d8260;
$custom-dark: #000000;
JSON
{
  "hex": "#185124",
  "rgb": {
    "r": 24,
    "g": 81,
    "b": 36
  },
  "hsl": {
    "h": 132.632,
    "s": 54.286,
    "l": 20.588
  },
  "oklch": {
    "l": 0.38599,
    "c": 0.09441,
    "h": 147.4
  },
  "luminance": 0.06206
}

Semantic roles & 50–950 ramp

primary
#185124
secondary
#883D78
accent
#4ABFDE
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050A05
muted
#797C79

Preview Lab

Preview with #185124

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

Preview Lab → · Contrast checker → · Palette generator →

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