#185231#185231

#185231 is a dark, moderate green. Relative luminance 0.065; OKLCH L 39.2% C 0.082 H 154.6°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#185231
RGBrgb(24, 82, 49)
HSLhsl(146, 55%, 21%)
HSVhsv(146, 71%, 32%)
CMYKcmyk(70.7%, 0%, 40.2%, 67.8%)
CIE-LABlab(30.52, -27.36, 14.04)
CIE-LCHlch(30.52, 30.75, 152.83°)
OKLaboklab(39.16% -0.0741 0.0352)
OKLCHoklch(39.16% 0.082 154.6)
XYZxyz(3.9480, 6.4501, 3.9421)
Luminance0.0645 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185231 #521839
analogous
#1C5218 #185231 #18524E
triadic
#185231 #311852 #523118
tetradic
#185231 #181C52 #521839 #524E18
square
#185231 #181C52 #521839 #524E18
split-complementary
#185231 #4E1852 #52181C
monochromatic
#07180E #0A2315 #185231 #26814D #34B16A

Accessibility & contrast

On white

9.17
#185231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#185231 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #185231
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185231#FFFFFF#000000##FFFFFF
##1852311.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524B2F
Deuteranopia (green-blind)
#4A4633
Tritanopia (blue-blind)
#00514A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #185231;
/* rgb */ color: rgb(24, 82, 49);
/* oklch */ color: oklch(39.2% 0.082 154.6);
Tailwind
colors: {
  custom: {
    50: '#5d8369',
    500: '#185231',
    950: '#000000',
  },
}
SCSS
$custom: #185231;
$custom-light: #5d8369;
$custom-dark: #000000;
JSON
{
  "hex": "#185231",
  "rgb": {
    "r": 24,
    "g": 82,
    "b": 49
  },
  "hsl": {
    "h": 145.862,
    "s": 54.717,
    "l": 20.784
  },
  "oklch": {
    "l": 0.39163,
    "c": 0.082,
    "h": 154.6
  },
  "luminance": 0.06451
}

Semantic roles & 50–950 ramp

primary
#185231
secondary
#893D68
accent
#4A9EDE
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #185231

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

Preview Lab → · Contrast checker → · Palette generator →

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