#187F22#187F22

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

Color values

HEX#187F22
RGBrgb(24, 127, 34)
HSLhsl(126, 68%, 30%)
HSVhsv(126, 81%, 50%)
CMYKcmyk(81.1%, 0%, 73.2%, 50.2%)
CIE-LABlab(46.29, -47.09, 40.55)
CIE-LCHlch(46.29, 62.14, 139.27°)
OKLaboklab(52.16% -0.1273 0.0925)
OKLCHoklch(52.16% 0.157 144)
XYZxyz(8.2542, 15.4874, 4.0674)
Luminance0.1549 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187F22 #7F1875
analogous
#427F18 #187F22 #187F56
triadic
#187F22 #22187F #7F2218
tetradic
#187F22 #18427F #7F1875 #7F5618
square
#187F22 #18427F #7F1875 #7F5618
split-complementary
#187F22 #56187F #7F1842
monochromatic
#051A07 #0E4C14 #187F22 #22B230 #38D948

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##187F22#FFFFFF#000000##FFFFFF
##187F221.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)
#827213
Deuteranopia (green-blind)
#766B2B
Tritanopia (blue-blind)
#007B6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #187f22;
/* rgb */ color: rgb(24, 127, 34);
/* oklch */ color: oklch(52.2% 0.157 144.0);
Tailwind
colors: {
  custom: {
    50: '#69a563',
    500: '#187f22',
    950: '#000000',
  },
}
SCSS
$custom: #187f22;
$custom-light: #69a563;
$custom-dark: #000000;
JSON
{
  "hex": "#187f22",
  "rgb": {
    "r": 24,
    "g": 127,
    "b": 34
  },
  "hsl": {
    "h": 125.825,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52156,
    "c": 0.15742,
    "h": 144
  },
  "luminance": 0.15488
}

Semantic roles & 50–950 ramp

primary
#187F22
secondary
#B33FA8
accent
#3DDAEB
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #187F22

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

Preview Lab → · Contrast checker → · Palette generator →

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