#185228#185228

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

Color values

HEX#185228
RGBrgb(24, 82, 40)
HSLhsl(137, 55%, 21%)
HSVhsv(137, 71%, 32%)
CMYKcmyk(70.7%, 0%, 51.2%, 67.8%)
CIE-LABlab(30.36, -29.19, 19.25)
CIE-LCHlch(30.36, 34.97, 146.59°)
OKLaboklab(38.97% -0.0787 0.047)
OKLCHoklch(38.97% 0.092 149.1)
XYZxyz(3.7767, 6.3816, 3.0398)
Luminance0.0638 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185228 #521842
analogous
#255218 #185228 #185245
triadic
#185228 #281852 #522818
tetradic
#185228 #182552 #521842 #524518
square
#185228 #182552 #521842 #524518
split-complementary
#185228 #451852 #521825
monochromatic
#07180C #0A2311 #185228 #26813F #34B156

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##185228#FFFFFF#000000##FFFFFF
##1852281.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)
#534B25
Deuteranopia (green-blind)
#4B452B
Tritanopia (blue-blind)
#045048
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #185228;
/* rgb */ color: rgb(24, 82, 40);
/* oklch */ color: oklch(39.0% 0.092 149.1);
Tailwind
colors: {
  custom: {
    50: '#5d8362',
    500: '#185228',
    950: '#000000',
  },
}
SCSS
$custom: #185228;
$custom-light: #5d8362;
$custom-dark: #000000;
JSON
{
  "hex": "#185228",
  "rgb": {
    "r": 24,
    "g": 82,
    "b": 40
  },
  "hsl": {
    "h": 136.552,
    "s": 54.717,
    "l": 20.784
  },
  "oklch": {
    "l": 0.38973,
    "c": 0.09172,
    "h": 149.1
  },
  "luminance": 0.06382
}

Semantic roles & 50–950 ramp

primary
#185228
secondary
#893D74
accent
#4AB5DE
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#050B05
muted
#797C79

Preview Lab

Preview with #185228

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

Preview Lab → · Contrast checker → · Palette generator →

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