#187612#187612

#187612 is a mid, vivid green. Relative luminance 0.132; OKLCH L 49.4% C 0.156 H 142.2°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#187612
RGBrgb(24, 118, 18)
HSLhsl(116, 74%, 27%)
HSVhsv(116, 85%, 46%)
CMYKcmyk(79.7%, 0%, 84.7%, 53.7%)
CIE-LABlab(43.05, -45.32, 43.12)
CIE-LCHlch(43.05, 62.56, 136.42°)
OKLaboklab(49.43% -0.1233 0.0957)
OKLCHoklch(49.43% 0.156 142.2)
XYZxyz(6.9639, 13.1939, 2.7518)
Luminance0.1320 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187612 #701276
analogous
#4A7612 #187612 #12763E
triadic
#187612 #121876 #761218
tetradic
#187612 #124A76 #701276 #763E12
square
#187612 #124A76 #701276 #763E12
split-complementary
#187612 #3E1276 #76124A
monochromatic
#051B04 #0D410A #187612 #23AB1A #30DE25

Accessibility & contrast

On white

5.77
#187612 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#187612 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187612
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187612#FFFFFF#000000##FFFFFF
##1876121.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#6F631F
Tritanopia (blue-blind)
#007264
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #187612;
/* rgb */ color: rgb(24, 118, 18);
/* oklch */ color: oklch(49.4% 0.156 142.2);
Tailwind
colors: {
  custom: {
    50: '#689e5a',
    500: '#187612',
    950: '#000000',
  },
}
SCSS
$custom: #187612;
$custom-light: #689e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#187612",
  "rgb": {
    "r": 24,
    "g": 118,
    "b": 18
  },
  "hsl": {
    "h": 116.4,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.49429,
    "c": 0.15604,
    "h": 142.2
  },
  "luminance": 0.13195
}

Semantic roles & 50–950 ramp

primary
#187612
secondary
#A537AD
accent
#38F0E5
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #187612

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

Preview Lab → · Contrast checker → · Palette generator →

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