#188226#188226

#188226 is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.1% C 0.158 H 144.5°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#188226
RGBrgb(24, 130, 38)
HSLhsl(128, 69%, 30%)
HSVhsv(128, 82%, 51%)
CMYKcmyk(81.5%, 0%, 70.8%, 49%)
CIE-LABlab(47.36, -47.71, 40.00)
CIE-LCHlch(47.36, 62.26, 140.03°)
OKLaboklab(53.06% -0.1288 0.0919)
OKLCHoklch(53.06% 0.158 144.5)
XYZxyz(8.7086, 16.2983, 4.5203)
Luminance0.1630 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188226 #821874
analogous
#3F8218 #188226 #18825B
triadic
#188226 #261882 #822618
tetradic
#188226 #183F82 #821874 #825B18
square
#188226 #183F82 #821874 #825B18
split-complementary
#188226 #5B1882 #82183F
monochromatic
#051B08 #0E4E17 #188226 #22B635 #3ADB4F

Accessibility & contrast

On white

4.93
#188226 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#188226 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #188226
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##188226#FFFFFF#000000##FFFFFF
##1882261.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847519
Deuteranopia (green-blind)
#796D2F
Tritanopia (blue-blind)
#007E6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #188226;
/* rgb */ color: rgb(24, 130, 38);
/* oklch */ color: oklch(53.1% 0.158 144.5);
Tailwind
colors: {
  custom: {
    50: '#6aa765',
    500: '#188226',
    950: '#000000',
  },
}
SCSS
$custom: #188226;
$custom-light: #6aa765;
$custom-dark: #000000;
JSON
{
  "hex": "#188226",
  "rgb": {
    "r": 24,
    "g": 130,
    "b": 38
  },
  "hsl": {
    "h": 127.925,
    "s": 68.831,
    "l": 30.196
  },
  "oklch": {
    "l": 0.53055,
    "c": 0.15826,
    "h": 144.5
  },
  "luminance": 0.16299
}

Semantic roles & 50–950 ramp

primary
#188226
secondary
#B640A6
accent
#3CD4EC
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081006
muted
#7A7F7A

Preview Lab

Preview with #188226

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

Preview Lab → · Contrast checker → · Palette generator →

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