#187512#187512

#187512 is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.1% C 0.155 H 142.2°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#187512
RGBrgb(24, 117, 18)
HSLhsl(116, 73%, 26%)
HSVhsv(116, 85%, 46%)
CMYKcmyk(79.5%, 0%, 84.6%, 54.1%)
CIE-LABlab(42.70, -44.99, 42.80)
CIE-LCHlch(42.70, 62.09, 136.43°)
OKLaboklab(49.14% -0.1224 0.095)
OKLCHoklch(49.14% 0.155 142.2)
XYZxyz(6.8467, 12.9596, 2.7128)
Luminance0.1296 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187512 #6F1275
analogous
#4A7512 #187512 #12753E
triadic
#187512 #121875 #751218
tetradic
#187512 #124A75 #6F1275 #753E12
square
#187512 #124A75 #6F1275 #753E12
split-complementary
#187512 #3E1275 #75124A
monochromatic
#051B04 #0D400A #187512 #23AA1A #2FDD24

Accessibility & contrast

On white

5.85
#187512 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#187512 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187512
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187512#FFFFFF#000000##FFFFFF
##1875121.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#6E621F
Tritanopia (blue-blind)
#007163
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #187512;
/* rgb */ color: rgb(24, 117, 18);
/* oklch */ color: oklch(49.1% 0.155 142.2);
Tailwind
colors: {
  custom: {
    50: '#679e5a',
    500: '#187512',
    950: '#000000',
  },
}
SCSS
$custom: #187512;
$custom-light: #679e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#187512",
  "rgb": {
    "r": 24,
    "g": 117,
    "b": 18
  },
  "hsl": {
    "h": 116.364,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.49137,
    "c": 0.1549,
    "h": 142.2
  },
  "luminance": 0.1296
}

Semantic roles & 50–950 ramp

primary
#187512
secondary
#A537AC
accent
#38F0E5
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #187512

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

Preview Lab → · Contrast checker → · Palette generator →

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