#187126#187126

#187126 is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.1% C 0.137 H 145.2°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#187126
RGBrgb(24, 113, 38)
HSLhsl(129, 65%, 27%)
HSVhsv(129, 79%, 44%)
CMYKcmyk(78.8%, 0%, 66.4%, 55.7%)
CIE-LABlab(41.44, -41.77, 33.52)
CIE-LCHlch(41.44, 53.55, 141.25°)
OKLaboklab(48.14% -0.1127 0.0782)
OKLCHoklch(48.14% 0.137 145.2)
XYZxyz(6.6312, 12.1436, 3.8278)
Luminance0.1214 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187126 #711863
analogous
#377118 #187126 #187153
triadic
#187126 #261871 #712618
tetradic
#187126 #183771 #711863 #715318
square
#187126 #183771 #711863 #715318
split-complementary
#187126 #531871 #711837
monochromatic
#051908 #0D3F15 #187126 #23A337 #30D34A

Accessibility & contrast

On white

6.12
#187126 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#187126 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187126
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187126#FFFFFF#000000##FFFFFF
##1871261.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73661D
Deuteranopia (green-blind)
#695F2D
Tritanopia (blue-blind)
#006E61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #187126;
/* rgb */ color: rgb(24, 113, 38);
/* oklch */ color: oklch(48.1% 0.137 145.2);
Tailwind
colors: {
  custom: {
    50: '#659b64',
    500: '#187126',
    950: '#000000',
  },
}
SCSS
$custom: #187126;
$custom-light: #659b64;
$custom-dark: #000000;
JSON
{
  "hex": "#187126",
  "rgb": {
    "r": 24,
    "g": 113,
    "b": 38
  },
  "hsl": {
    "h": 129.438,
    "s": 64.964,
    "l": 26.863
  },
  "oklch": {
    "l": 0.48139,
    "c": 0.13717,
    "h": 145.2
  },
  "luminance": 0.12144
}

Semantic roles & 50–950 ramp

primary
#187126
secondary
#A63E96
accent
#40CEE8
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E05
muted
#7A7E7A

Preview Lab

Preview with #187126

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

Preview Lab → · Contrast checker → · Palette generator →

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