#185315#185315

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

Color values

HEX#185315
RGBrgb(24, 83, 21)
HSLhsl(117, 60%, 20%)
HSVhsv(117, 75%, 33%)
CMYKcmyk(71.1%, 0%, 74.7%, 67.5%)
CIE-LABlab(30.48, -32.36, 29.56)
CIE-LCHlch(30.48, 43.83, 137.59°)
OKLaboklab(39% -0.0881 0.0678)
OKLCHoklch(39% 0.111 142.4)
XYZxyz(3.6051, 6.4345, 1.7613)
Luminance0.0644 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185315 #501553
analogous
#375315 #185315 #155331
triadic
#185315 #151853 #531518
tetradic
#185315 #153753 #501553 #533115
square
#185315 #153753 #501553 #533115
split-complementary
#185315 #311553 #531537
monochromatic
#071806 #0A2209 #185315 #268421 #34B52E

Accessibility & contrast

On white

9.18
#185315 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#185315 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #185315
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185315#FFFFFF#000000##FFFFFF
##1853151.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B0C
Deuteranopia (green-blind)
#4E461B
Tritanopia (blue-blind)
#0B5047
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #185315;
/* rgb */ color: rgb(24, 83, 21);
/* oklch */ color: oklch(39.0% 0.111 142.4);
Tailwind
colors: {
  custom: {
    50: '#5e8456',
    500: '#185315',
    950: '#000000',
  },
}
SCSS
$custom: #185315;
$custom-light: #5e8456;
$custom-dark: #000000;
JSON
{
  "hex": "#185315",
  "rgb": {
    "r": 24,
    "g": 83,
    "b": 21
  },
  "hsl": {
    "h": 117.097,
    "s": 59.615,
    "l": 20.392
  },
  "oklch": {
    "l": 0.39001,
    "c": 0.11112,
    "h": 142.4
  },
  "luminance": 0.06435
}

Semantic roles & 50–950 ramp

primary
#185315
secondary
#87398B
accent
#45E3DB
background
#F5F8F5
surface
#EAEFE9
border
#C6CAC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #185315

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

Preview Lab → · Contrast checker → · Palette generator →

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