#185126#185126

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

Color values

HEX#185126
RGBrgb(24, 81, 38)
HSLhsl(135, 54%, 21%)
HSVhsv(135, 70%, 32%)
CMYKcmyk(70.4%, 0%, 53.1%, 68.2%)
CIE-LABlab(29.96, -29.12, 19.92)
CIE-LCHlch(29.96, 35.28, 145.62°)
OKLaboklab(38.64% -0.0786 0.0485)
OKLCHoklch(38.64% 0.092 148.3)
XYZxyz(3.6687, 6.2186, 2.8403)
Luminance0.0622 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185126 #511843
analogous
#265118 #185126 #185142
triadic
#185126 #261851 #512618
tetradic
#185126 #182651 #511843 #514218
square
#185126 #182651 #511843 #514218
split-complementary
#185126 #421851 #511826
monochromatic
#07180B #0A2210 #185126 #26803C #34AF52

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##185126#FFFFFF#000000##FFFFFF
##1851261.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)
#524A22
Deuteranopia (green-blind)
#4B4529
Tritanopia (blue-blind)
#064F47
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #185126;
/* rgb */ color: rgb(24, 81, 38);
/* oklch */ color: oklch(38.6% 0.092 148.3);
Tailwind
colors: {
  custom: {
    50: '#5d8261',
    500: '#185126',
    950: '#000000',
  },
}
SCSS
$custom: #185126;
$custom-light: #5d8261;
$custom-dark: #000000;
JSON
{
  "hex": "#185126",
  "rgb": {
    "r": 24,
    "g": 81,
    "b": 38
  },
  "hsl": {
    "h": 134.737,
    "s": 54.286,
    "l": 20.588
  },
  "oklch": {
    "l": 0.38635,
    "c": 0.09231,
    "h": 148.3
  },
  "luminance": 0.06219
}

Semantic roles & 50–950 ramp

primary
#185126
secondary
#883D75
accent
#4AB9DE
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#040A05
muted
#797C79

Preview Lab

Preview with #185126

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

Preview Lab → · Contrast checker → · Palette generator →

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