#187412#187412

#187412 is a mid, vivid green. Relative luminance 0.127; OKLCH L 48.8% C 0.154 H 142.2°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#187412
RGBrgb(24, 116, 18)
HSLhsl(116, 73%, 26%)
HSVhsv(116, 84%, 45%)
CMYKcmyk(79.3%, 0%, 84.5%, 54.5%)
CIE-LABlab(42.35, -44.65, 42.47)
CIE-LCHlch(42.35, 61.62, 136.43°)
OKLaboklab(48.84% -0.1215 0.0943)
OKLCHoklch(48.84% 0.154 142.2)
XYZxyz(6.7309, 12.7279, 2.6741)
Luminance0.1273 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187412 #6E1274
analogous
#497412 #187412 #12743D
triadic
#187412 #121874 #741218
tetradic
#187412 #124974 #6E1274 #743D12
square
#187412 #124974 #6E1274 #743D12
split-complementary
#187412 #3D1274 #741249
monochromatic
#051A04 #0D3F0A #187412 #23A91A #2FDD23

Accessibility & contrast

On white

5.92
#187412 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#187412 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187412
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187412#FFFFFF#000000##FFFFFF
##1874121.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#6D611E
Tritanopia (blue-blind)
#007062
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #187412;
/* rgb */ color: rgb(24, 116, 18);
/* oklch */ color: oklch(48.8% 0.154 142.2);
Tailwind
colors: {
  custom: {
    50: '#679d5a',
    500: '#187412',
    950: '#000000',
  },
}
SCSS
$custom: #187412;
$custom-light: #679d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#187412",
  "rgb": {
    "r": 24,
    "g": 116,
    "b": 18
  },
  "hsl": {
    "h": 116.327,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.48844,
    "c": 0.15377,
    "h": 142.2
  },
  "luminance": 0.12729
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #187412

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

Preview Lab → · Contrast checker → · Palette generator →

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