#188428#188428

#188428 is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.6% C 0.159 H 144.7°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#188428
RGBrgb(24, 132, 40)
HSLhsl(129, 69%, 31%)
HSVhsv(129, 82%, 52%)
CMYKcmyk(81.8%, 0%, 69.7%, 48.2%)
CIE-LABlab(48.07, -48.18, 39.89)
CIE-LCHlch(48.07, 62.55, 140.38°)
OKLaboklab(53.65% -0.13 0.0919)
OKLCHoklch(53.65% 0.159 144.7)
XYZxyz(9.0103, 16.8488, 4.7843)
Luminance0.1685 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188428 #841874
analogous
#3E8418 #188428 #18845E
triadic
#188428 #281884 #842818
tetradic
#188428 #183E84 #841874 #845E18
square
#188428 #183E84 #841874 #845E18
split-complementary
#188428 #5E1884 #84183E
monochromatic
#051C09 #0F5018 #188428 #21B838 #3BDB53

Accessibility & contrast

On white

4.81
#188428 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#188428 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #188428
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##188428#FFFFFF#000000##FFFFFF
##1884281.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86771B
Deuteranopia (green-blind)
#7B6F31
Tritanopia (blue-blind)
#008071
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #188428;
/* rgb */ color: rgb(24, 132, 40);
/* oklch */ color: oklch(53.6% 0.159 144.7);
Tailwind
colors: {
  custom: {
    50: '#6aa967',
    500: '#188428',
    950: '#000000',
  },
}
SCSS
$custom: #188428;
$custom-light: #6aa967;
$custom-dark: #000000;
JSON
{
  "hex": "#188428",
  "rgb": {
    "r": 24,
    "g": 132,
    "b": 40
  },
  "hsl": {
    "h": 128.889,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53647,
    "c": 0.15923,
    "h": 144.7
  },
  "luminance": 0.1685
}

Semantic roles & 50–950 ramp

primary
#188428
secondary
#B840A6
accent
#3CD2EC
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081006
muted
#7A7F7A

Preview Lab

Preview with #188428

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

Preview Lab → · Contrast checker → · Palette generator →

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