#185028#185028

#185028 is a dark, moderate green. Relative luminance 0.061; OKLCH L 38.4% C 0.089 H 149.5°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#185028
RGBrgb(24, 80, 40)
HSLhsl(137, 54%, 20%)
HSVhsv(137, 70%, 31%)
CMYKcmyk(70%, 0%, 50%, 68.6%)
CIE-LABlab(29.62, -28.30, 18.32)
CIE-LCHlch(29.62, 33.72, 147.09°)
OKLaboklab(38.37% -0.0764 0.0449)
OKLCHoklch(38.37% 0.089 149.5)
XYZxyz(3.6281, 6.0843, 2.9903)
Luminance0.0609 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185028 #501840
analogous
#245018 #185028 #185044
triadic
#185028 #281850 #502818
tetradic
#185028 #182450 #501840 #504418
square
#185028 #182450 #501840 #504418
split-complementary
#185028 #441850 #501824
monochromatic
#07180C #0A2110 #185028 #267F40 #34AE57

Accessibility & contrast

On white

9.47
#185028 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#185028 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #185028
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185028#FFFFFF#000000##FFFFFF
##1850281.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514925
Deuteranopia (green-blind)
#4A442B
Tritanopia (blue-blind)
#054E46
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #185028;
/* rgb */ color: rgb(24, 80, 40);
/* oklch */ color: oklch(38.4% 0.089 149.5);
Tailwind
colors: {
  custom: {
    50: '#5d8262',
    500: '#185028',
    950: '#000000',
  },
}
SCSS
$custom: #185028;
$custom-light: #5d8262;
$custom-dark: #000000;
JSON
{
  "hex": "#185028",
  "rgb": {
    "r": 24,
    "g": 80,
    "b": 40
  },
  "hsl": {
    "h": 137.143,
    "s": 53.846,
    "l": 20.392
  },
  "oklch": {
    "l": 0.38371,
    "c": 0.08861,
    "h": 149.5
  },
  "luminance": 0.06085
}

Semantic roles & 50–950 ramp

primary
#185028
secondary
#873D72
accent
#4BB3DD
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#040A05
muted
#797C79

Preview Lab

Preview with #185028

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

Preview Lab → · Contrast checker → · Palette generator →

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