#188B22#188B22

#188B22 is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.6% C 0.171 H 143.7°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#188B22
RGBrgb(24, 139, 34)
HSLhsl(125, 71%, 32%)
HSVhsv(125, 83%, 55%)
CMYKcmyk(82.7%, 0%, 75.5%, 45.5%)
CIE-LABlab(50.42, -51.07, 44.79)
CIE-LCHlch(50.42, 67.92, 138.75°)
OKLaboklab(55.59% -0.1382 0.1014)
OKLCHoklch(55.59% 0.171 143.7)
XYZxyz(9.8974, 18.7737, 4.6151)
Luminance0.1878 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188B22 #8B1881
analogous
#488B18 #188B22 #188B5B
triadic
#188B22 #22188B #8B2218
tetradic
#188B22 #18488B #8B1881 #8B5B18
square
#188B22 #18488B #8B1881 #8B5B18
split-complementary
#188B22 #5B188B #8B1848
monochromatic
#062308 #0F5715 #188B22 #21BF2F #3FDE4D

Accessibility & contrast

On white

4.42
#188B22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#188B22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #188B22
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##188B22#FFFFFF#000000##000000
##188B221.004.424.764.76
#FFFFFF4.421.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D0E
Deuteranopia (green-blind)
#82752D
Tritanopia (blue-blind)
#008777
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #188b22;
/* rgb */ color: rgb(24, 139, 34);
/* oklch */ color: oklch(55.6% 0.171 143.7);
Tailwind
colors: {
  custom: {
    50: '#6cae64',
    500: '#188b22',
    950: '#000000',
  },
}
SCSS
$custom: #188b22;
$custom-light: #6cae64;
$custom-dark: #000000;
JSON
{
  "hex": "#188b22",
  "rgb": {
    "r": 24,
    "g": 139,
    "b": 34
  },
  "hsl": {
    "h": 125.217,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55588,
    "c": 0.17138,
    "h": 143.7
  },
  "luminance": 0.18775
}

Semantic roles & 50–950 ramp

primary
#188B22
secondary
#BE40B3
accent
#3ADEED
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #188B22

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

Preview Lab → · Contrast checker → · Palette generator →

#188B22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva