#198521#198521

#198521 is a mid, vivid green. Relative luminance 0.171; OKLCH L 53.9% C 0.165 H 143.6°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#198521
RGBrgb(25, 133, 33)
HSLhsl(124, 68%, 31%)
HSVhsv(124, 81%, 52%)
CMYKcmyk(81.2%, 0%, 75.2%, 47.8%)
CIE-LABlab(48.37, -49.05, 43.09)
CIE-LCHlch(48.37, 65.29, 138.70°)
OKLaboklab(53.89% -0.1328 0.0977)
OKLCHoklch(53.89% 0.165 143.6)
XYZxyz(9.0623, 17.0904, 4.2597)
Luminance0.1709 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198521 #85197D
analogous
#478519 #198521 #198557
triadic
#198521 #211985 #852119
tetradic
#198521 #194785 #85197D #855719
square
#198521 #194785 #85197D #855719
split-complementary
#198521 #571985 #851947
monochromatic
#061E07 #0F5114 #198521 #23B92E #3EDB49

Accessibility & contrast

On white

4.75
#198521 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#198521 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #198521
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198521#FFFFFF#000000##FFFFFF
##1985211.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#88780F
Deuteranopia (green-blind)
#7C702C
Tritanopia (blue-blind)
#008172
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #198521;
/* rgb */ color: rgb(25, 133, 33);
/* oklch */ color: oklch(53.9% 0.165 143.6);
Tailwind
colors: {
  custom: {
    50: '#6baa63',
    500: '#198521',
    950: '#000000',
  },
}
SCSS
$custom: #198521;
$custom-light: #6baa63;
$custom-dark: #000000;
JSON
{
  "hex": "#198521",
  "rgb": {
    "r": 25,
    "g": 133,
    "b": 33
  },
  "hsl": {
    "h": 124.444,
    "s": 68.354,
    "l": 30.98
  },
  "oklch": {
    "l": 0.53887,
    "c": 0.16486,
    "h": 143.6
  },
  "luminance": 0.17092
}

Semantic roles & 50–950 ramp

primary
#198521
secondary
#B941B0
accent
#3DDEEB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #198521

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

Preview Lab → · Contrast checker → · Palette generator →

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