#185F12#185F12

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

Color values

HEX#185F12
RGBrgb(24, 95, 18)
HSLhsl(115, 68%, 22%)
HSVhsv(115, 81%, 37%)
CMYKcmyk(74.7%, 0%, 81.1%, 62.7%)
CIE-LABlab(34.85, -37.25, 35.28)
CIE-LCHlch(34.85, 51.30, 136.55°)
OKLaboklab(42.61% -0.1014 0.0793)
OKLCHoklch(42.61% 0.129 142)
XYZxyz(4.5778, 8.4218, 1.9565)
Luminance0.0842 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185F12 #59125F
analogous
#3F5F12 #185F12 #125F33
triadic
#185F12 #12185F #5F1218
tetradic
#185F12 #123F5F #59125F #5F3312
square
#185F12 #123F5F #59125F #5F3312
split-complementary
#185F12 #33125F #5F123F
monochromatic
#061A05 #0B2C08 #185F12 #25921C #32C625

Accessibility & contrast

On white

7.82
#185F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #185F12
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185F12#FFFFFF#000000##FFFFFF
##185F121.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615503
Deuteranopia (green-blind)
#59501B
Tritanopia (blue-blind)
#055C50
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #185f12;
/* rgb */ color: rgb(24, 95, 18);
/* oklch */ color: oklch(42.6% 0.129 142.0);
Tailwind
colors: {
  custom: {
    50: '#628d56',
    500: '#185f12',
    950: '#000000',
  },
}
SCSS
$custom: #185f12;
$custom-light: #628d56;
$custom-dark: #000000;
JSON
{
  "hex": "#185f12",
  "rgb": {
    "r": 24,
    "g": 95,
    "b": 18
  },
  "hsl": {
    "h": 115.325,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.4261,
    "c": 0.12875,
    "h": 142
  },
  "luminance": 0.08422
}

Semantic roles & 50–950 ramp

primary
#185F12
secondary
#903697
accent
#3DEBDD
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78

Preview Lab

Preview with #185F12

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

Preview Lab → · Contrast checker → · Palette generator →

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