#198222#198222

#198222 is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.0% C 0.161 H 143.8°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#198222
RGBrgb(25, 130, 34)
HSLhsl(125, 68%, 30%)
HSVhsv(125, 81%, 51%)
CMYKcmyk(80.8%, 0%, 73.8%, 49%)
CIE-LABlab(47.35, -47.96, 41.65)
CIE-LCHlch(47.35, 63.52, 139.03°)
OKLaboklab(53.04% -0.1298 0.0948)
OKLCHoklch(53.04% 0.161 143.8)
XYZxyz(8.6717, 16.2864, 4.1996)
Luminance0.1629 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198222 #821979
analogous
#448219 #198222 #198256
triadic
#198222 #221982 #822219
tetradic
#198222 #194482 #821979 #825619
square
#198222 #194482 #821979 #825619
split-complementary
#198222 #561982 #821944
monochromatic
#051B07 #0F4F15 #198222 #23B52F #3CD949

Accessibility & contrast

On white

4.93
#198222 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#198222 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #198222
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198222#FFFFFF#000000##FFFFFF
##1982221.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857512
Deuteranopia (green-blind)
#796D2C
Tritanopia (blue-blind)
#007E6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #198222;
/* rgb */ color: rgb(25, 130, 34);
/* oklch */ color: oklch(53.0% 0.161 143.8);
Tailwind
colors: {
  custom: {
    50: '#6aa763',
    500: '#198222',
    950: '#000000',
  },
}
SCSS
$custom: #198222;
$custom-light: #6aa763;
$custom-dark: #000000;
JSON
{
  "hex": "#198222",
  "rgb": {
    "r": 25,
    "g": 130,
    "b": 34
  },
  "hsl": {
    "h": 125.143,
    "s": 67.742,
    "l": 30.392
  },
  "oklch": {
    "l": 0.53037,
    "c": 0.16072,
    "h": 143.8
  },
  "luminance": 0.16287
}

Semantic roles & 50–950 ramp

primary
#198222
secondary
#B641AC
accent
#3DDCEB
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081006
muted
#7A7F7A

Preview Lab

Preview with #198222

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

Preview Lab → · Contrast checker → · Palette generator →

#198222 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva