#188128#188128

#188128 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.8% C 0.156 H 144.9°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#188128
RGBrgb(24, 129, 40)
HSLhsl(129, 69%, 30%)
HSVhsv(129, 81%, 51%)
CMYKcmyk(81.4%, 0%, 69%, 49.4%)
CIE-LABlab(47.04, -47.16, 38.77)
CIE-LCHlch(47.04, 61.05, 140.57°)
OKLaboklab(52.79% -0.1273 0.0896)
OKLCHoklch(52.79% 0.156 144.9)
XYZxyz(8.6093, 16.0469, 4.6507)
Luminance0.1605 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188128 #811871
analogous
#3C8118 #188128 #18815D
triadic
#188128 #281881 #812818
tetradic
#188128 #183C81 #811871 #815D18
square
#188128 #183C81 #811871 #815D18
split-complementary
#188128 #5D1881 #81183C
monochromatic
#051A08 #0E4D18 #188128 #22B538 #39DA52

Accessibility & contrast

On white

4.99
#188128 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#188128 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #188128
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##188128#FFFFFF#000000##FFFFFF
##1881281.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83741C
Deuteranopia (green-blind)
#786C30
Tritanopia (blue-blind)
#007D6F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #188128;
/* rgb */ color: rgb(24, 129, 40);
/* oklch */ color: oklch(52.8% 0.156 144.9);
Tailwind
colors: {
  custom: {
    50: '#69a766',
    500: '#188128',
    950: '#000000',
  },
}
SCSS
$custom: #188128;
$custom-light: #69a766;
$custom-dark: #000000;
JSON
{
  "hex": "#188128",
  "rgb": {
    "r": 24,
    "g": 129,
    "b": 40
  },
  "hsl": {
    "h": 129.143,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.52788,
    "c": 0.15561,
    "h": 144.9
  },
  "luminance": 0.16048
}

Semantic roles & 50–950 ramp

primary
#188128
secondary
#B540A3
accent
#3CD1EB
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #188128

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

Preview Lab → · Contrast checker → · Palette generator →

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