#185215#185215

#185215 is a dark, moderate green. Relative luminance 0.063; OKLCH L 38.7% C 0.110 H 142.4°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#185215
RGBrgb(24, 82, 21)
HSLhsl(117, 59%, 20%)
HSVhsv(117, 74%, 32%)
CMYKcmyk(70.7%, 0%, 74.4%, 67.8%)
CIE-LABlab(30.11, -31.96, 29.17)
CIE-LCHlch(30.11, 43.27, 137.62°)
OKLaboklab(38.7% -0.087 0.0669)
OKLCHoklch(38.7% 0.11 142.4)
XYZxyz(3.5291, 6.2826, 1.7360)
Luminance0.0628 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185215 #4F1552
analogous
#365215 #185215 #155230
triadic
#185215 #151852 #521518
tetradic
#185215 #153652 #4F1552 #523015
square
#185215 #153652 #4F1552 #523015
split-complementary
#185215 #301552 #521536
monochromatic
#071806 #0A2109 #185215 #268321 #35B32E

Accessibility & contrast

On white

9.31
#185215 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#185215 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #185215
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185215#FFFFFF#000000##FFFFFF
##1852151.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A0C
Deuteranopia (green-blind)
#4D451B
Tritanopia (blue-blind)
#0C4F46
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #185215;
/* rgb */ color: rgb(24, 82, 21);
/* oklch */ color: oklch(38.7% 0.110 142.4);
Tailwind
colors: {
  custom: {
    50: '#5e8356',
    500: '#185215',
    950: '#000000',
  },
}
SCSS
$custom: #185215;
$custom-light: #5e8356;
$custom-dark: #000000;
JSON
{
  "hex": "#185215",
  "rgb": {
    "r": 24,
    "g": 82,
    "b": 21
  },
  "hsl": {
    "h": 117.049,
    "s": 59.223,
    "l": 20.196
  },
  "oklch": {
    "l": 0.38696,
    "c": 0.10976,
    "h": 142.4
  },
  "luminance": 0.06283
}

Semantic roles & 50–950 ramp

primary
#185215
secondary
#86398A
accent
#45E2DB
background
#F5F8F5
surface
#EAEFE9
border
#C6CAC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #185215

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

Preview Lab → · Contrast checker → · Palette generator →

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