#185227#185227

#185227 is a dark, moderate green. Relative luminance 0.064; OKLCH L 39.0% C 0.093 H 148.7°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#185227
RGBrgb(24, 82, 39)
HSLhsl(136, 55%, 21%)
HSVhsv(136, 71%, 32%)
CMYKcmyk(70.7%, 0%, 52.4%, 67.8%)
CIE-LABlab(30.34, -29.37, 19.82)
CIE-LCHlch(30.34, 35.43, 145.99°)
OKLaboklab(38.96% -0.0792 0.0483)
OKLCHoklch(38.96% 0.093 148.7)
XYZxyz(3.7599, 6.3749, 2.9514)
Luminance0.0638 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185227 #521843
analogous
#265218 #185227 #185244
triadic
#185227 #271852 #522718
tetradic
#185227 #182652 #521843 #524418
square
#185227 #182652 #521843 #524418
split-complementary
#185227 #441852 #521826
monochromatic
#07180B #0A2310 #185227 #26813E #34B154

Accessibility & contrast

On white

9.23
#185227 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#185227 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #185227
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185227#FFFFFF#000000##FFFFFF
##1852271.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534A24
Deuteranopia (green-blind)
#4C452A
Tritanopia (blue-blind)
#045048
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #185227;
/* rgb */ color: rgb(24, 82, 39);
/* oklch */ color: oklch(39.0% 0.093 148.7);
Tailwind
colors: {
  custom: {
    50: '#5d8362',
    500: '#185227',
    950: '#000000',
  },
}
SCSS
$custom: #185227;
$custom-light: #5d8362;
$custom-dark: #000000;
JSON
{
  "hex": "#185227",
  "rgb": {
    "r": 24,
    "g": 82,
    "b": 39
  },
  "hsl": {
    "h": 135.517,
    "s": 54.717,
    "l": 20.784
  },
  "oklch": {
    "l": 0.38955,
    "c": 0.09278,
    "h": 148.7
  },
  "luminance": 0.06375
}

Semantic roles & 50–950 ramp

primary
#185227
secondary
#893D75
accent
#4AB8DE
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#050B05
muted
#797C79

Preview Lab

Preview with #185227

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

Preview Lab → · Contrast checker → · Palette generator →

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