#185226#185226

#185226 is a dark, moderate green. Relative luminance 0.064; OKLCH L 38.9% C 0.094 H 148.2°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#185226
RGBrgb(24, 82, 38)
HSLhsl(134, 55%, 21%)
HSVhsv(134, 71%, 32%)
CMYKcmyk(70.7%, 0%, 53.7%, 67.8%)
CIE-LABlab(30.32, -29.55, 20.38)
CIE-LCHlch(30.32, 35.90, 145.41°)
OKLaboklab(38.94% -0.0797 0.0495)
OKLCHoklch(38.94% 0.094 148.2)
XYZxyz(3.7436, 6.3683, 2.8653)
Luminance0.0637 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185226 #521844
analogous
#275218 #185226 #185243
triadic
#185226 #261852 #522618
tetradic
#185226 #182752 #521844 #524318
square
#185226 #182752 #521844 #524318
split-complementary
#185226 #431852 #521827
monochromatic
#07180B #0A2310 #185226 #26813C #34B152

Accessibility & contrast

On white

9.24
#185226 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #185226
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185226#FFFFFF#000000##FFFFFF
##1852261.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534A22
Deuteranopia (green-blind)
#4C4529
Tritanopia (blue-blind)
#055048
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #185226;
/* rgb */ color: rgb(24, 82, 38);
/* oklch */ color: oklch(38.9% 0.094 148.2);
Tailwind
colors: {
  custom: {
    50: '#5d8361',
    500: '#185226',
    950: '#000000',
  },
}
SCSS
$custom: #185226;
$custom-light: #5d8361;
$custom-dark: #000000;
JSON
{
  "hex": "#185226",
  "rgb": {
    "r": 24,
    "g": 82,
    "b": 38
  },
  "hsl": {
    "h": 134.483,
    "s": 54.717,
    "l": 20.784
  },
  "oklch": {
    "l": 0.38936,
    "c": 0.09384,
    "h": 148.2
  },
  "luminance": 0.06369
}

Semantic roles & 50–950 ramp

primary
#185226
secondary
#893D76
accent
#4ABADE
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#050B05
muted
#797C79

Preview Lab

Preview with #185226

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

Preview Lab → · Contrast checker → · Palette generator →

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