#187626#187626

#187626 is a mid, vivid green. Relative luminance 0.133; OKLCH L 49.6% C 0.144 H 145.0°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#187626
RGBrgb(24, 118, 38)
HSLhsl(129, 66%, 28%)
HSVhsv(129, 80%, 46%)
CMYKcmyk(79.7%, 0%, 67.8%, 53.7%)
CIE-LABlab(43.20, -43.56, 35.47)
CIE-LCHlch(43.20, 56.17, 140.84°)
OKLaboklab(49.59% -0.1176 0.0824)
OKLCHoklch(49.59% 0.144 145)
XYZxyz(7.2045, 13.2901, 4.0189)
Luminance0.1329 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187626 #761868
analogous
#397618 #187626 #187655
triadic
#187626 #261876 #762618
tetradic
#187626 #183976 #761868 #765518
square
#187626 #183976 #761868 #765518
split-complementary
#187626 #551876 #761839
monochromatic
#051908 #0E4316 #187626 #22A936 #33D54B

Accessibility & contrast

On white

5.74
#187626 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#187626 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187626
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187626#FFFFFF#000000##FFFFFF
##1876261.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A1C
Deuteranopia (green-blind)
#6E632D
Tritanopia (blue-blind)
#007365
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #187626;
/* rgb */ color: rgb(24, 118, 38);
/* oklch */ color: oklch(49.6% 0.144 145.0);
Tailwind
colors: {
  custom: {
    50: '#679e64',
    500: '#187626',
    950: '#000000',
  },
}
SCSS
$custom: #187626;
$custom-light: #679e64;
$custom-dark: #000000;
JSON
{
  "hex": "#187626",
  "rgb": {
    "r": 24,
    "g": 118,
    "b": 38
  },
  "hsl": {
    "h": 128.936,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.49594,
    "c": 0.14353,
    "h": 145
  },
  "luminance": 0.13291
}

Semantic roles & 50–950 ramp

primary
#187626
secondary
#AB3F9B
accent
#3FD0E9
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #187626

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

Preview Lab → · Contrast checker → · Palette generator →

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