#198C21#198C21

#198C21 is a mid, vivid green. Relative luminance 0.191; OKLCH L 55.9% C 0.173 H 143.5°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#198C21
RGBrgb(25, 140, 33)
HSLhsl(124, 70%, 32%)
HSVhsv(124, 82%, 55%)
CMYKcmyk(82.1%, 0%, 76.4%, 45.1%)
CIE-LABlab(50.77, -51.35, 45.52)
CIE-LCHlch(50.77, 68.62, 138.44°)
OKLaboklab(55.88% -0.139 0.1028)
OKLCHoklch(55.88% 0.173 143.5)
XYZxyz(10.0528, 19.0714, 4.5899)
Luminance0.1907 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198C21 #8C1984
analogous
#4A8C19 #198C21 #198C5B
triadic
#198C21 #21198C #8C2119
tetradic
#198C21 #194A8C #8C1984 #8C5B19
square
#198C21 #194A8C #8C1984 #8C5B19
split-complementary
#198C21 #5B198C #8C194A
monochromatic
#062409 #105815 #198C21 #22C02D #42DD4D

Accessibility & contrast

On white

4.36
#198C21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#198C21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #198C21
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198C21#FFFFFF#000000##000000
##198C211.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E0B
Deuteranopia (green-blind)
#83762D
Tritanopia (blue-blind)
#008877
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #198c21;
/* rgb */ color: rgb(25, 140, 33);
/* oklch */ color: oklch(55.9% 0.173 143.5);
Tailwind
colors: {
  custom: {
    50: '#6daf64',
    500: '#198c21',
    950: '#000000',
  },
}
SCSS
$custom: #198c21;
$custom-light: #6daf64;
$custom-dark: #000000;
JSON
{
  "hex": "#198c21",
  "rgb": {
    "r": 25,
    "g": 140,
    "b": 33
  },
  "hsl": {
    "h": 124.174,
    "s": 69.697,
    "l": 32.353
  },
  "oklch": {
    "l": 0.55881,
    "c": 0.17288,
    "h": 143.5
  },
  "luminance": 0.19073
}

Semantic roles & 50–950 ramp

primary
#198C21
secondary
#BE43B6
accent
#3BE0ED
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #198C21

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

Preview Lab → · Contrast checker → · Palette generator →

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