#185134#185134

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

Color values

HEX#185134
RGBrgb(24, 81, 52)
HSLhsl(149, 54%, 21%)
HSVhsv(149, 70%, 32%)
CMYKcmyk(70.4%, 0%, 35.8%, 68.2%)
CIE-LABlab(30.22, -26.21, 11.79)
CIE-LCHlch(30.22, 28.74, 155.78°)
OKLaboklab(38.94% -0.0712 0.0298)
OKLCHoklch(38.94% 0.077 157.3)
XYZxyz(3.9386, 6.3266, 4.2617)
Luminance0.0633 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185134 #511835
analogous
#185118 #185134 #185150
triadic
#185134 #341851 #513418
tetradic
#185134 #181851 #511835 #515018
square
#185134 #181851 #511835 #515018
split-complementary
#185134 #501851 #511818
monochromatic
#07180F #0A2216 #185134 #268052 #34AF71

Accessibility & contrast

On white

9.27
#185134 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#185134 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #185134
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185134#FFFFFF#000000##FFFFFF
##1851341.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504A32
Deuteranopia (green-blind)
#494536
Tritanopia (blue-blind)
#005049
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #185134;
/* rgb */ color: rgb(24, 81, 52);
/* oklch */ color: oklch(38.9% 0.077 157.3);
Tailwind
colors: {
  custom: {
    50: '#5d826b',
    500: '#185134',
    950: '#000000',
  },
}
SCSS
$custom: #185134;
$custom-light: #5d826b;
$custom-dark: #000000;
JSON
{
  "hex": "#185134",
  "rgb": {
    "r": 24,
    "g": 81,
    "b": 52
  },
  "hsl": {
    "h": 149.474,
    "s": 54.286,
    "l": 20.588
  },
  "oklch": {
    "l": 0.38939,
    "c": 0.07722,
    "h": 157.3
  },
  "luminance": 0.06327
}

Semantic roles & 50–950 ramp

primary
#185134
secondary
#883D63
accent
#4A95DE
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #185134

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

Preview Lab → · Contrast checker → · Palette generator →

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