#198E18#198E18

#198E18 is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.4% C 0.180 H 142.7°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#198E18
RGBrgb(25, 142, 24)
HSLhsl(119, 71%, 33%)
HSVhsv(119, 83%, 56%)
CMYKcmyk(82.4%, 0%, 83.1%, 44.3%)
CIE-LABlab(51.40, -52.62, 49.12)
CIE-LCHlch(51.40, 71.98, 136.98°)
OKLaboklab(56.39% -0.1429 0.109)
OKLCHoklch(56.39% 0.18 142.7)
XYZxyz(10.2381, 19.6174, 4.1109)
Luminance0.1962 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198E18 #8D188E
analogous
#548E18 #198E18 #188E52
triadic
#198E18 #18198E #8E1819
tetradic
#198E18 #18548E #8D188E #8E5218
square
#198E18 #18548E #8D188E #8E5218
split-complementary
#198E18 #52188E #8E1854
monochromatic
#072506 #105A0F #198E18 #22C221 #43DF41

Accessibility & contrast

On white

4.26
#198E18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#198E18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #198E18
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198E18#FFFFFF#000000##000000
##198E181.004.264.924.92
#FFFFFF4.261.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#857727
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #198e18;
/* rgb */ color: rgb(25, 142, 24);
/* oklch */ color: oklch(56.4% 0.180 142.7);
Tailwind
colors: {
  custom: {
    50: '#6eb060',
    500: '#198e18',
    950: '#000000',
  },
}
SCSS
$custom: #198e18;
$custom-light: #6eb060;
$custom-dark: #000000;
JSON
{
  "hex": "#198e18",
  "rgb": {
    "r": 25,
    "g": 142,
    "b": 24
  },
  "hsl": {
    "h": 119.492,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.5639,
    "c": 0.17971,
    "h": 142.7
  },
  "luminance": 0.19619
}

Semantic roles & 50–950 ramp

primary
#198E18
secondary
#BF42C0
accent
#3AEEEC
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091105
muted
#7B807A

Preview Lab

Preview with #198E18

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

Preview Lab → · Contrast checker → · Palette generator →

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