#198E38#198E38

#198E38 is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.7% C 0.159 H 147.0°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#198E38
RGBrgb(25, 142, 56)
HSLhsl(136, 70%, 33%)
HSVhsv(136, 82%, 56%)
CMYKcmyk(82.4%, 0%, 60.6%, 44.3%)
CIE-LABlab(51.65, -49.53, 36.52)
CIE-LCHlch(51.65, 61.53, 143.60°)
OKLaboklab(56.68% -0.1331 0.0863)
OKLCHoklch(56.68% 0.159 147)
XYZxyz(10.7869, 19.8369, 7.0010)
Luminance0.1984 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198E38 #8E196F
analogous
#358E19 #198E38 #198E72
triadic
#198E38 #38198E #8E3819
tetradic
#198E38 #19358E #8E196F #8E7219
square
#198E38 #19358E #8E196F #8E7219
split-complementary
#198E38 #72198E #8E1935
monochromatic
#07260F #105A23 #198E38 #22C24D #43DE6C

Accessibility & contrast

On white

4.23
#198E38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#198E38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #198E38
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198E38#FFFFFF#000000##000000
##198E381.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#90812F
Deuteranopia (green-blind)
#83783F
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #198e38;
/* rgb */ color: rgb(25, 142, 56);
/* oklch */ color: oklch(56.7% 0.159 147.0);
Tailwind
colors: {
  custom: {
    50: '#6cb071',
    500: '#198e38',
    950: '#000000',
  },
}
SCSS
$custom: #198e38;
$custom-light: #6cb071;
$custom-dark: #000000;
JSON
{
  "hex": "#198e38",
  "rgb": {
    "r": 25,
    "g": 142,
    "b": 56
  },
  "hsl": {
    "h": 135.897,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56679,
    "c": 0.15869,
    "h": 147
  },
  "luminance": 0.19838
}

Semantic roles & 50–950 ramp

primary
#198E38
secondary
#BF449E
accent
#3BBEED
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#081108
muted
#7B807B

Preview Lab

Preview with #198E38

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

Preview Lab → · Contrast checker → · Palette generator →

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