#185127#185127

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

Color values

HEX#185127
RGBrgb(24, 81, 39)
HSLhsl(136, 54%, 21%)
HSVhsv(136, 70%, 32%)
CMYKcmyk(70.4%, 0%, 51.9%, 68.2%)
CIE-LABlab(29.97, -28.93, 19.36)
CIE-LCHlch(29.97, 34.81, 146.22°)
OKLaboklab(38.65% -0.0781 0.0472)
OKLCHoklch(38.65% 0.091 148.8)
XYZxyz(3.6851, 6.2252, 2.9264)
Luminance0.0623 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185127 #511842
analogous
#255118 #185127 #185143
triadic
#185127 #271851 #512718
tetradic
#185127 #182551 #511842 #514318
square
#185127 #182551 #511842 #514318
split-complementary
#185127 #431851 #511825
monochromatic
#07180B #0A2210 #185127 #26803E #34AF54

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##185127#FFFFFF#000000##FFFFFF
##1851271.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)
#524A24
Deuteranopia (green-blind)
#4B452A
Tritanopia (blue-blind)
#054F47
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #185127;
/* rgb */ color: rgb(24, 81, 39);
/* oklch */ color: oklch(38.7% 0.091 148.8);
Tailwind
colors: {
  custom: {
    50: '#5d8262',
    500: '#185127',
    950: '#000000',
  },
}
SCSS
$custom: #185127;
$custom-light: #5d8262;
$custom-dark: #000000;
JSON
{
  "hex": "#185127",
  "rgb": {
    "r": 24,
    "g": 81,
    "b": 39
  },
  "hsl": {
    "h": 135.789,
    "s": 54.286,
    "l": 20.588
  },
  "oklch": {
    "l": 0.38653,
    "c": 0.09124,
    "h": 148.8
  },
  "luminance": 0.06226
}

Semantic roles & 50–950 ramp

primary
#185127
secondary
#883D74
accent
#4AB7DE
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#040A05
muted
#797C79

Preview Lab

Preview with #185127

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

Preview Lab → · Contrast checker → · Palette generator →

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