#198A27#198A27

#198A27 is a mid, vivid green. Relative luminance 0.185; OKLCH L 55.4% C 0.167 H 144.3°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#198A27
RGBrgb(25, 138, 39)
HSLhsl(127, 69%, 32%)
HSVhsv(127, 82%, 54%)
CMYKcmyk(81.9%, 0%, 71.7%, 45.9%)
CIE-LABlab(50.13, -50.15, 42.51)
CIE-LCHlch(50.13, 65.75, 139.71°)
OKLaboklab(55.36% -0.1355 0.0973)
OKLCHoklch(55.36% 0.167 144.3)
XYZxyz(9.8549, 18.5289, 4.9761)
Luminance0.1853 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198A27 #8A197C
analogous
#438A19 #198A27 #198A60
triadic
#198A27 #27198A #8A2719
tetradic
#198A27 #19438A #8A197C #8A6019
square
#198A27 #19438A #8A197C #8A6019
split-complementary
#198A27 #60198A #8A1943
monochromatic
#06220A #105618 #198A27 #22BE36 #41DD54

Accessibility & contrast

On white

4.46
#198A27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#198A27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #198A27
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198A27#FFFFFF#000000##000000
##198A271.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C18
Deuteranopia (green-blind)
#807431
Tritanopia (blue-blind)
#008676
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #198a27;
/* rgb */ color: rgb(25, 138, 39);
/* oklch */ color: oklch(55.4% 0.167 144.3);
Tailwind
colors: {
  custom: {
    50: '#6cad67',
    500: '#198a27',
    950: '#000000',
  },
}
SCSS
$custom: #198a27;
$custom-light: #6cad67;
$custom-dark: #000000;
JSON
{
  "hex": "#198a27",
  "rgb": {
    "r": 25,
    "g": 138,
    "b": 39
  },
  "hsl": {
    "h": 127.434,
    "s": 69.325,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55363,
    "c": 0.16681,
    "h": 144.3
  },
  "luminance": 0.1853
}

Semantic roles & 50–950 ramp

primary
#198A27
secondary
#BD42AE
accent
#3CD6EC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #198A27

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

Preview Lab → · Contrast checker → · Palette generator →

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