#198221#198221

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

Color values

HEX#198221
RGBrgb(25, 130, 33)
HSLhsl(125, 68%, 30%)
HSVhsv(125, 81%, 51%)
CMYKcmyk(80.8%, 0%, 74.6%, 49%)
CIE-LABlab(47.34, -48.05, 42.04)
CIE-LCHlch(47.34, 63.84, 138.82°)
OKLaboklab(53.03% -0.13 0.0955)
OKLCHoklch(53.03% 0.161 143.7)
XYZxyz(8.6575, 16.2807, 4.1248)
Luminance0.1628 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198221 #82197A
analogous
#468219 #198221 #198255
triadic
#198221 #211982 #822119
tetradic
#198221 #194682 #82197A #825519
square
#198221 #194682 #82197A #825519
split-complementary
#198221 #551982 #821946
monochromatic
#051B07 #0F4F14 #198221 #23B52E #3CD948

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##198221#FFFFFF#000000##FFFFFF
##1982211.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)
#857510
Deuteranopia (green-blind)
#796D2B
Tritanopia (blue-blind)
#007E6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #198221;
/* rgb */ color: rgb(25, 130, 33);
/* oklch */ color: oklch(53.0% 0.161 143.7);
Tailwind
colors: {
  custom: {
    50: '#6aa763',
    500: '#198221',
    950: '#000000',
  },
}
SCSS
$custom: #198221;
$custom-light: #6aa763;
$custom-dark: #000000;
JSON
{
  "hex": "#198221",
  "rgb": {
    "r": 25,
    "g": 130,
    "b": 33
  },
  "hsl": {
    "h": 124.571,
    "s": 67.742,
    "l": 30.392
  },
  "oklch": {
    "l": 0.53028,
    "c": 0.16136,
    "h": 143.7
  },
  "luminance": 0.16282
}

Semantic roles & 50–950 ramp

primary
#198221
secondary
#B641AD
accent
#3DDDEB
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081005
muted
#7A7F7A

Preview Lab

Preview with #198221

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

Preview Lab → · Contrast checker → · Palette generator →

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