#198E42#198E42

#198E42 is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.8% C 0.150 H 149.4°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#198E42
RGBrgb(25, 142, 66)
HSLhsl(141, 70%, 33%)
HSVhsv(141, 82%, 56%)
CMYKcmyk(82.4%, 0%, 53.5%, 44.3%)
CIE-LABlab(51.77, -48.05, 31.64)
CIE-LCHlch(51.77, 57.54, 146.64°)
OKLaboklab(56.82% -0.129 0.0763)
OKLCHoklch(56.82% 0.15 149.4)
XYZxyz(11.0563, 19.9447, 8.4202)
Luminance0.1995 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198E42 #8E1965
analogous
#2A8E19 #198E42 #198E7D
triadic
#198E42 #42198E #8E4219
tetradic
#198E42 #192A8E #8E1965 #8E7D19
square
#198E42 #192A8E #8E1965 #8E7D19
split-complementary
#198E42 #7D198E #8E192A
monochromatic
#072612 #105A2A #198E42 #22C25A #43DE7A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##198E42#FFFFFF#000000##000000
##198E421.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)
#8F813B
Deuteranopia (green-blind)
#827848
Tritanopia (blue-blind)
#008B7D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #198e42;
/* rgb */ color: rgb(25, 142, 66);
/* oklch */ color: oklch(56.8% 0.150 149.4);
Tailwind
colors: {
  custom: {
    50: '#6cb078',
    500: '#198e42',
    950: '#000000',
  },
}
SCSS
$custom: #198e42;
$custom-light: #6cb078;
$custom-dark: #000000;
JSON
{
  "hex": "#198e42",
  "rgb": {
    "r": 25,
    "g": 142,
    "b": 66
  },
  "hsl": {
    "h": 141.026,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.5682,
    "c": 0.14989,
    "h": 149.4
  },
  "luminance": 0.19946
}

Semantic roles & 50–950 ramp

primary
#198E42
secondary
#BF4494
accent
#3BAFED
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#081109
muted
#7B807B

Preview Lab

Preview with #198E42

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

Preview Lab → · Contrast checker → · Palette generator →

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