#198B21#198B21

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

Color values

HEX#198B21
RGBrgb(25, 139, 33)
HSLhsl(124, 70%, 32%)
HSVhsv(124, 82%, 55%)
CMYKcmyk(82%, 0%, 76.3%, 45.5%)
CIE-LABlab(50.43, -51.02, 45.17)
CIE-LCHlch(50.43, 68.15, 138.48°)
OKLaboklab(55.6% -0.1381 0.1021)
OKLCHoklch(55.6% 0.172 143.5)
XYZxyz(9.9074, 18.7805, 4.5414)
Luminance0.1878 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198B21 #8B1983
analogous
#4A8B19 #198B21 #198B5A
triadic
#198B21 #21198B #8B2119
tetradic
#198B21 #194A8B #8B1983 #8B5A19
square
#198B21 #194A8B #8B1983 #8B5A19
split-complementary
#198B21 #5A198B #8B194A
monochromatic
#062308 #105715 #198B21 #22BF2D #41DD4C

Accessibility & contrast

On white

4.42
#198B21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#198B21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #198B21
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198B21#FFFFFF#000000##000000
##198B211.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)
#8E7D0C
Deuteranopia (green-blind)
#82752C
Tritanopia (blue-blind)
#008777
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #198b21;
/* rgb */ color: rgb(25, 139, 33);
/* oklch */ color: oklch(55.6% 0.172 143.5);
Tailwind
colors: {
  custom: {
    50: '#6dae64',
    500: '#198b21',
    950: '#000000',
  },
}
SCSS
$custom: #198b21;
$custom-light: #6dae64;
$custom-dark: #000000;
JSON
{
  "hex": "#198b21",
  "rgb": {
    "r": 25,
    "g": 139,
    "b": 33
  },
  "hsl": {
    "h": 124.211,
    "s": 69.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.55597,
    "c": 0.17175,
    "h": 143.5
  },
  "luminance": 0.18782
}

Semantic roles & 50–950 ramp

primary
#198B21
secondary
#BE42B5
accent
#3BE0EC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #198B21

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

Preview Lab → · Contrast checker → · Palette generator →

#198B21 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva