#198A21#198A21

#198A21 is a mid, vivid green. Relative luminance 0.185; OKLCH L 55.3% C 0.171 H 143.6°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#198A21
RGBrgb(25, 138, 33)
HSLhsl(124, 69%, 32%)
HSVhsv(124, 82%, 54%)
CMYKcmyk(81.9%, 0%, 76.1%, 45.9%)
CIE-LABlab(50.09, -50.70, 44.83)
CIE-LCHlch(50.09, 67.67, 138.51°)
OKLaboklab(55.31% -0.1372 0.1014)
OKLCHoklch(55.31% 0.171 143.6)
XYZxyz(9.7632, 18.4923, 4.4934)
Luminance0.1849 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198A21 #8A1982
analogous
#4A8A19 #198A21 #198A5A
triadic
#198A21 #21198A #8A2119
tetradic
#198A21 #194A8A #8A1982 #8A5A19
square
#198A21 #194A8A #8A1982 #8A5A19
split-complementary
#198A21 #5A198A #8A194A
monochromatic
#062208 #105615 #198A21 #22BE2D #41DD4C

Accessibility & contrast

On white

4.47
#198A21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#198A21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #198A21
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198A21#FFFFFF#000000##000000
##198A211.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C0C
Deuteranopia (green-blind)
#81742C
Tritanopia (blue-blind)
#008676
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #198a21;
/* rgb */ color: rgb(25, 138, 33);
/* oklch */ color: oklch(55.3% 0.171 143.6);
Tailwind
colors: {
  custom: {
    50: '#6cad64',
    500: '#198a21',
    950: '#000000',
  },
}
SCSS
$custom: #198a21;
$custom-light: #6cad64;
$custom-dark: #000000;
JSON
{
  "hex": "#198a21",
  "rgb": {
    "r": 25,
    "g": 138,
    "b": 33
  },
  "hsl": {
    "h": 124.248,
    "s": 69.325,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55313,
    "c": 0.17061,
    "h": 143.6
  },
  "luminance": 0.18493
}

Semantic roles & 50–950 ramp

primary
#198A21
secondary
#BD42B4
accent
#3CE0EC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #198A21

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

Preview Lab → · Contrast checker → · Palette generator →

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