#185131#185131

#185131 is a dark, moderate green. Relative luminance 0.063; OKLCH L 38.9% C 0.080 H 155.0°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#185131
RGBrgb(24, 81, 49)
HSLhsl(146, 54%, 21%)
HSVhsv(146, 70%, 32%)
CMYKcmyk(70.4%, 0%, 39.5%, 68.2%)
CIE-LABlab(30.16, -26.90, 13.56)
CIE-LCHlch(30.16, 30.12, 153.25°)
OKLaboklab(38.87% -0.0729 0.034)
OKLCHoklch(38.87% 0.08 155)
XYZxyz(3.8732, 6.3004, 3.9171)
Luminance0.0630 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185131 #511838
analogous
#1B5118 #185131 #18514D
triadic
#185131 #311851 #513118
tetradic
#185131 #181B51 #511838 #514D18
square
#185131 #181B51 #511838 #514D18
split-complementary
#185131 #4D1851 #51181B
monochromatic
#07180E #0A2214 #185131 #26804E #34AF6A

Accessibility & contrast

On white

9.29
#185131 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#185131 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #185131
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185131#FFFFFF#000000##FFFFFF
##1851311.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514A2F
Deuteranopia (green-blind)
#494533
Tritanopia (blue-blind)
#005049
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #185131;
/* rgb */ color: rgb(24, 81, 49);
/* oklch */ color: oklch(38.9% 0.080 155.0);
Tailwind
colors: {
  custom: {
    50: '#5d8269',
    500: '#185131',
    950: '#000000',
  },
}
SCSS
$custom: #185131;
$custom-light: #5d8269;
$custom-dark: #000000;
JSON
{
  "hex": "#185131",
  "rgb": {
    "r": 24,
    "g": 81,
    "b": 49
  },
  "hsl": {
    "h": 146.316,
    "s": 54.286,
    "l": 20.588
  },
  "oklch": {
    "l": 0.38865,
    "c": 0.08042,
    "h": 155
  },
  "luminance": 0.06301
}

Semantic roles & 50–950 ramp

primary
#185131
secondary
#883D67
accent
#4A9DDE
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #185131

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

Preview Lab → · Contrast checker → · Palette generator →

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