#185F0F#185F0F

#185F0F is a dark, vivid green. Relative luminance 0.084; OKLCH L 42.6% C 0.130 H 141.6°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#185F0F
RGBrgb(24, 95, 15)
HSLhsl(113, 73%, 22%)
HSVhsv(113, 84%, 37%)
CMYKcmyk(74.7%, 0%, 84.2%, 62.7%)
CIE-LABlab(34.83, -37.47, 36.35)
CIE-LCHlch(34.83, 52.21, 135.87°)
OKLaboklab(42.59% -0.1022 0.0811)
OKLCHoklch(42.59% 0.13 141.6)
XYZxyz(4.5549, 8.4126, 1.8356)
Luminance0.0841 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185F0F #560F5F
analogous
#405F0F #185F0F #0F5F2E
triadic
#185F0F #0F185F #5F0F18
tetradic
#185F0F #0F405F #560F5F #5F2E0F
square
#185F0F #0F405F #560F5F #5F2E0F
split-complementary
#185F0F #2E0F5F #5F0F40
monochromatic
#071A04 #0B2A07 #185F0F #259417 #33C920

Accessibility & contrast

On white

7.83
#185F0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#185F0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #185F0F
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185F0F#FFFFFF#000000##FFFFFF
##185F0F1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625500
Deuteranopia (green-blind)
#595019
Tritanopia (blue-blind)
#065C50
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #185f0f;
/* rgb */ color: rgb(24, 95, 15);
/* oklch */ color: oklch(42.6% 0.130 141.6);
Tailwind
colors: {
  custom: {
    50: '#628d55',
    500: '#185f0f',
    950: '#000000',
  },
}
SCSS
$custom: #185f0f;
$custom-light: #628d55;
$custom-dark: #000000;
JSON
{
  "hex": "#185f0f",
  "rgb": {
    "r": 24,
    "g": 95,
    "b": 15
  },
  "hsl": {
    "h": 113.25,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42589,
    "c": 0.13045,
    "h": 141.6
  },
  "luminance": 0.08413
}

Semantic roles & 50–950 ramp

primary
#185F0F
secondary
#8D3298
accent
#38EFDB
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78

Preview Lab

Preview with #185F0F

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

Preview Lab → · Contrast checker → · Palette generator →

#185F0F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva