#198F22#198F22

#198F22 is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.7% C 0.176 H 143.6°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#198F22
RGBrgb(25, 143, 34)
HSLhsl(125, 70%, 33%)
HSVhsv(125, 83%, 56%)
CMYKcmyk(82.5%, 0%, 76.2%, 43.9%)
CIE-LABlab(51.80, -52.24, 46.18)
CIE-LCHlch(51.80, 69.72, 138.52°)
OKLaboklab(56.74% -0.1414 0.1043)
OKLCHoklch(56.74% 0.176 143.6)
XYZxyz(10.5114, 19.9658, 4.8129)
Luminance0.1997 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198F22 #8F1986
analogous
#4B8F19 #198F22 #198F5D
triadic
#198F22 #22198F #8F2219
tetradic
#198F22 #194B8F #8F1986 #8F5D19
square
#198F22 #194B8F #8F1986 #8F5D19
split-complementary
#198F22 #5D198F #8F194B
monochromatic
#072709 #105B16 #198F22 #22C32E #44DE50

Accessibility & contrast

On white

4.21
#198F22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#198F22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #198F22
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198F22#FFFFFF#000000##000000
##198F221.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#92810C
Deuteranopia (green-blind)
#85782E
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #198f22;
/* rgb */ color: rgb(25, 143, 34);
/* oklch */ color: oklch(56.7% 0.176 143.6);
Tailwind
colors: {
  custom: {
    50: '#6eb165',
    500: '#198f22',
    950: '#000000',
  },
}
SCSS
$custom: #198f22;
$custom-light: #6eb165;
$custom-dark: #000000;
JSON
{
  "hex": "#198f22",
  "rgb": {
    "r": 25,
    "g": 143,
    "b": 34
  },
  "hsl": {
    "h": 124.576,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56738,
    "c": 0.17569,
    "h": 143.6
  },
  "luminance": 0.19967
}

Semantic roles & 50–950 ramp

primary
#198F22
secondary
#BF44B6
accent
#3BDFED
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081106
muted
#7B807A

Preview Lab

Preview with #198F22

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

Preview Lab → · Contrast checker → · Palette generator →

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