#185128#185128

#185128 is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.7% C 0.090 H 149.3°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#185128
RGBrgb(24, 81, 40)
HSLhsl(137, 54%, 21%)
HSVhsv(137, 70%, 32%)
CMYKcmyk(70.4%, 0%, 50.6%, 68.2%)
CIE-LABlab(29.99, -28.75, 18.79)
CIE-LCHlch(29.99, 34.34, 146.84°)
OKLaboklab(38.67% -0.0776 0.046)
OKLCHoklch(38.67% 0.09 149.3)
XYZxyz(3.7018, 6.2319, 3.0149)
Luminance0.0623 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185128 #511841
analogous
#245118 #185128 #185144
triadic
#185128 #281851 #512818
tetradic
#185128 #182451 #511841 #514418
square
#185128 #182451 #511841 #514418
split-complementary
#185128 #441851 #511824
monochromatic
#07180C #0A2211 #185128 #26803F #34AF57

Accessibility & contrast

On white

9.35
#185128 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#185128 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #185128
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185128#FFFFFF#000000##FFFFFF
##1851281.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524A25
Deuteranopia (green-blind)
#4A452B
Tritanopia (blue-blind)
#044F47
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #185128;
/* rgb */ color: rgb(24, 81, 40);
/* oklch */ color: oklch(38.7% 0.090 149.3);
Tailwind
colors: {
  custom: {
    50: '#5d8262',
    500: '#185128',
    950: '#000000',
  },
}
SCSS
$custom: #185128;
$custom-light: #5d8262;
$custom-dark: #000000;
JSON
{
  "hex": "#185128",
  "rgb": {
    "r": 24,
    "g": 81,
    "b": 40
  },
  "hsl": {
    "h": 136.842,
    "s": 54.286,
    "l": 20.588
  },
  "oklch": {
    "l": 0.38672,
    "c": 0.09017,
    "h": 149.3
  },
  "luminance": 0.06232
}

Semantic roles & 50–950 ramp

primary
#185128
secondary
#883D73
accent
#4AB4DE
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#040A05
muted
#797C79

Preview Lab

Preview with #185128

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

Preview Lab → · Contrast checker → · Palette generator →

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