#198A22#198A22

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

Color values

HEX#198A22
RGBrgb(25, 138, 34)
HSLhsl(125, 69%, 32%)
HSVhsv(125, 82%, 54%)
CMYKcmyk(81.9%, 0%, 75.4%, 45.9%)
CIE-LABlab(50.09, -50.61, 44.46)
CIE-LCHlch(50.09, 67.37, 138.70°)
OKLaboklab(55.32% -0.137 0.1007)
OKLCHoklch(55.32% 0.17 143.7)
XYZxyz(9.7775, 18.4979, 4.5682)
Luminance0.1850 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198A22 #8A1981
analogous
#498A19 #198A22 #198A5B
triadic
#198A22 #22198A #8A2219
tetradic
#198A22 #19498A #8A1981 #8A5B19
square
#198A22 #19498A #8A1981 #8A5B19
split-complementary
#198A22 #5B198A #8A1949
monochromatic
#062208 #105615 #198A22 #22BE2F #41DD4D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##198A22#FFFFFF#000000##000000
##198A221.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)
#8D7C0E
Deuteranopia (green-blind)
#81742D
Tritanopia (blue-blind)
#008676
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #198a22;
/* rgb */ color: rgb(25, 138, 34);
/* oklch */ color: oklch(55.3% 0.170 143.7);
Tailwind
colors: {
  custom: {
    50: '#6cad64',
    500: '#198a22',
    950: '#000000',
  },
}
SCSS
$custom: #198a22;
$custom-light: #6cad64;
$custom-dark: #000000;
JSON
{
  "hex": "#198a22",
  "rgb": {
    "r": 25,
    "g": 138,
    "b": 34
  },
  "hsl": {
    "h": 124.779,
    "s": 69.325,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55321,
    "c": 0.17001,
    "h": 143.7
  },
  "luminance": 0.18499
}

Semantic roles & 50–950 ramp

primary
#198A22
secondary
#BD42B3
accent
#3CDEEC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #198A22

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

Preview Lab → · Contrast checker → · Palette generator →

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