#187F26#187F26

#187F26 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.2% C 0.155 H 144.6°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#187F26
RGBrgb(24, 127, 38)
HSLhsl(128, 68%, 30%)
HSVhsv(128, 81%, 50%)
CMYKcmyk(81.1%, 0%, 70.1%, 50.2%)
CIE-LABlab(46.33, -46.69, 38.89)
CIE-LCHlch(46.33, 60.76, 140.21°)
OKLaboklab(52.19% -0.1261 0.0896)
OKLCHoklch(52.19% 0.155 144.6)
XYZxyz(8.3153, 15.5119, 4.3892)
Luminance0.1551 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187F26 #7F1871
analogous
#3E7F18 #187F26 #187F59
triadic
#187F26 #26187F #7F2618
tetradic
#187F26 #183E7F #7F1871 #7F5918
square
#187F26 #183E7F #7F1871 #7F5918
split-complementary
#187F26 #59187F #7F183E
monochromatic
#051A08 #0E4C17 #187F26 #22B235 #38D94E

Accessibility & contrast

On white

5.12
#187F26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#187F26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187F26
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187F26#FFFFFF#000000##FFFFFF
##187F261.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81721A
Deuteranopia (green-blind)
#766B2E
Tritanopia (blue-blind)
#007B6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #187f26;
/* rgb */ color: rgb(24, 127, 38);
/* oklch */ color: oklch(52.2% 0.155 144.6);
Tailwind
colors: {
  custom: {
    50: '#69a565',
    500: '#187f26',
    950: '#000000',
  },
}
SCSS
$custom: #187f26;
$custom-light: #69a565;
$custom-dark: #000000;
JSON
{
  "hex": "#187f26",
  "rgb": {
    "r": 24,
    "g": 127,
    "b": 38
  },
  "hsl": {
    "h": 128.155,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52194,
    "c": 0.15464,
    "h": 144.6
  },
  "luminance": 0.15513
}

Semantic roles & 50–950 ramp

primary
#187F26
secondary
#B33FA4
accent
#3DD3EB
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #187F26

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

Preview Lab → · Contrast checker → · Palette generator →

#187F26 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva