#185229#185229

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

Color values

HEX#185229
RGBrgb(24, 82, 41)
HSLhsl(138, 55%, 21%)
HSVhsv(138, 71%, 32%)
CMYKcmyk(70.7%, 0%, 50%, 67.8%)
CIE-LABlab(30.37, -29.00, 18.68)
CIE-LCHlch(30.37, 34.50, 147.21°)
OKLaboklab(38.99% -0.0782 0.0458)
OKLCHoklch(38.99% 0.091 149.7)
XYZxyz(3.7939, 6.3885, 3.1306)
Luminance0.0639 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185229 #521841
analogous
#245218 #185229 #185246
triadic
#185229 #291852 #522918
tetradic
#185229 #182452 #521841 #524618
square
#185229 #182452 #521841 #524618
split-complementary
#185229 #461852 #521824
monochromatic
#07180C #0A2311 #185229 #268141 #34B158

Accessibility & contrast

On white

9.22
#185229 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #185229
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185229#FFFFFF#000000##FFFFFF
##1852291.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534B26
Deuteranopia (green-blind)
#4B452C
Tritanopia (blue-blind)
#035048
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #185229;
/* rgb */ color: rgb(24, 82, 41);
/* oklch */ color: oklch(39.0% 0.091 149.7);
Tailwind
colors: {
  custom: {
    50: '#5d8363',
    500: '#185229',
    950: '#000000',
  },
}
SCSS
$custom: #185229;
$custom-light: #5d8363;
$custom-dark: #000000;
JSON
{
  "hex": "#185229",
  "rgb": {
    "r": 24,
    "g": 82,
    "b": 41
  },
  "hsl": {
    "h": 137.586,
    "s": 54.717,
    "l": 20.784
  },
  "oklch": {
    "l": 0.38992,
    "c": 0.09065,
    "h": 149.7
  },
  "luminance": 0.06389
}

Semantic roles & 50–950 ramp

primary
#185229
secondary
#893D73
accent
#4AB3DE
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#050B05
muted
#797C79

Preview Lab

Preview with #185229

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

Preview Lab → · Contrast checker → · Palette generator →

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