#198721#198721

#198721 is a mid, vivid green. Relative luminance 0.176; OKLCH L 54.5% C 0.167 H 143.6°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#198721
RGBrgb(25, 135, 33)
HSLhsl(124, 69%, 31%)
HSVhsv(124, 81%, 53%)
CMYKcmyk(81.5%, 0%, 75.6%, 47.1%)
CIE-LABlab(49.06, -49.71, 43.79)
CIE-LCHlch(49.06, 66.25, 138.62°)
OKLaboklab(54.46% -0.1346 0.0992)
OKLCHoklch(54.46% 0.167 143.6)
XYZxyz(9.3388, 17.6433, 4.3519)
Luminance0.1764 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198721 #87197F
analogous
#488719 #198721 #198758
triadic
#198721 #211987 #872119
tetradic
#198721 #194887 #87197F #875819
square
#198721 #194887 #87197F #875819
split-complementary
#198721 #581987 #871948
monochromatic
#062008 #0F5314 #198721 #23BB2E #3FDB4A

Accessibility & contrast

On white

4.64
#198721 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#198721 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #198721
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198721#FFFFFF#000000##FFFFFF
##1987211.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A0E
Deuteranopia (green-blind)
#7E712C
Tritanopia (blue-blind)
#008373
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #198721;
/* rgb */ color: rgb(25, 135, 33);
/* oklch */ color: oklch(54.5% 0.167 143.6);
Tailwind
colors: {
  custom: {
    50: '#6cab63',
    500: '#198721',
    950: '#000000',
  },
}
SCSS
$custom: #198721;
$custom-light: #6cab63;
$custom-dark: #000000;
JSON
{
  "hex": "#198721",
  "rgb": {
    "r": 25,
    "g": 135,
    "b": 33
  },
  "hsl": {
    "h": 124.364,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54458,
    "c": 0.16717,
    "h": 143.6
  },
  "luminance": 0.17644
}

Semantic roles & 50–950 ramp

primary
#198721
secondary
#BA41B2
accent
#3CDFEC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #198721

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

Preview Lab → · Contrast checker → · Palette generator →

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