#188721#188721

#188721 is a mid, vivid green. Relative luminance 0.176; OKLCH L 54.4% C 0.167 H 143.7°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#188721
RGBrgb(24, 135, 33)
HSLhsl(125, 70%, 31%)
HSVhsv(125, 82%, 53%)
CMYKcmyk(82.2%, 0%, 75.6%, 47.1%)
CIE-LABlab(49.05, -49.85, 43.77)
CIE-LCHlch(49.05, 66.34, 138.71°)
OKLaboklab(54.44% -0.1349 0.0992)
OKLCHoklch(54.44% 0.167 143.7)
XYZxyz(9.3146, 17.6308, 4.3507)
Luminance0.1763 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188721 #87187E
analogous
#468718 #188721 #188758
triadic
#188721 #211887 #872118
tetradic
#188721 #184687 #87187E #875818
square
#188721 #184687 #87187E #875818
split-complementary
#188721 #581887 #871846
monochromatic
#061F08 #0F5314 #188721 #21BB2E #3DDC4A

Accessibility & contrast

On white

4.64
#188721 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#188721 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #188721
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##188721#FFFFFF#000000##FFFFFF
##1887211.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A0E
Deuteranopia (green-blind)
#7E712C
Tritanopia (blue-blind)
#008373
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #188721;
/* rgb */ color: rgb(24, 135, 33);
/* oklch */ color: oklch(54.4% 0.167 143.7);
Tailwind
colors: {
  custom: {
    50: '#6bab63',
    500: '#188721',
    950: '#000000',
  },
}
SCSS
$custom: #188721;
$custom-light: #6bab63;
$custom-dark: #000000;
JSON
{
  "hex": "#188721",
  "rgb": {
    "r": 24,
    "g": 135,
    "b": 33
  },
  "hsl": {
    "h": 124.865,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54441,
    "c": 0.16741,
    "h": 143.7
  },
  "luminance": 0.17632
}

Semantic roles & 50–950 ramp

primary
#188721
secondary
#BB40B1
accent
#3BDEED
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #188721

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

Preview Lab → · Contrast checker → · Palette generator →

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