#185125#185125

#185125 is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.6% C 0.093 H 147.9°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#185125
RGBrgb(24, 81, 37)
HSLhsl(134, 54%, 21%)
HSVhsv(134, 70%, 32%)
CMYKcmyk(70.4%, 0%, 54.3%, 68.2%)
CIE-LABlab(29.94, -29.29, 20.48)
CIE-LCHlch(29.94, 35.74, 145.03°)
OKLaboklab(38.62% -0.0791 0.0497)
OKLCHoklch(38.62% 0.093 147.9)
XYZxyz(3.6528, 6.2122, 2.7565)
Luminance0.0621 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185125 #511844
analogous
#275118 #185125 #185141
triadic
#185125 #251851 #512518
tetradic
#185125 #182751 #511844 #514118
square
#185125 #182751 #511844 #514118
split-complementary
#185125 #411851 #511827
monochromatic
#07180B #0A220F #185125 #26803B #34AF50

Accessibility & contrast

On white

9.36
#185125 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#185125 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #185125
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185125#FFFFFF#000000##FFFFFF
##1851251.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524A21
Deuteranopia (green-blind)
#4B4528
Tritanopia (blue-blind)
#064F47
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #185125;
/* rgb */ color: rgb(24, 81, 37);
/* oklch */ color: oklch(38.6% 0.093 147.9);
Tailwind
colors: {
  custom: {
    50: '#5d8260',
    500: '#185125',
    950: '#000000',
  },
}
SCSS
$custom: #185125;
$custom-light: #5d8260;
$custom-dark: #000000;
JSON
{
  "hex": "#185125",
  "rgb": {
    "r": 24,
    "g": 81,
    "b": 37
  },
  "hsl": {
    "h": 133.684,
    "s": 54.286,
    "l": 20.588
  },
  "oklch": {
    "l": 0.38617,
    "c": 0.09337,
    "h": 147.9
  },
  "luminance": 0.06213
}

Semantic roles & 50–950 ramp

primary
#185125
secondary
#883D77
accent
#4ABCDE
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050A05
muted
#797C79

Preview Lab

Preview with #185125

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

Preview Lab → · Contrast checker → · Palette generator →

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