#198D27#198D27

#198D27 is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.2% C 0.170 H 144.2°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#198D27
RGBrgb(25, 141, 39)
HSLhsl(127, 70%, 33%)
HSVhsv(127, 82%, 55%)
CMYKcmyk(82.3%, 0%, 72.3%, 44.7%)
CIE-LABlab(51.15, -51.14, 43.59)
CIE-LCHlch(51.15, 67.20, 139.56°)
OKLaboklab(56.21% -0.1382 0.0996)
OKLCHoklch(56.21% 0.17 144.2)
XYZxyz(10.2913, 19.4017, 5.1216)
Luminance0.1940 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198D27 #8D197F
analogous
#458D19 #198D27 #198D61
triadic
#198D27 #27198D #8D2719
tetradic
#198D27 #19458D #8D197F #8D6119
square
#198D27 #19458D #8D197F #8D6119
split-complementary
#198D27 #61198D #8D1945
monochromatic
#07250A #105919 #198D27 #22C135 #43DE55

Accessibility & contrast

On white

4.30
#198D27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#198D27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #198D27
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198D27#FFFFFF#000000##000000
##198D271.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F17
Deuteranopia (green-blind)
#837631
Tritanopia (blue-blind)
#008979
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #198d27;
/* rgb */ color: rgb(25, 141, 39);
/* oklch */ color: oklch(56.2% 0.170 144.2);
Tailwind
colors: {
  custom: {
    50: '#6daf67',
    500: '#198d27',
    950: '#000000',
  },
}
SCSS
$custom: #198d27;
$custom-light: #6daf67;
$custom-dark: #000000;
JSON
{
  "hex": "#198d27",
  "rgb": {
    "r": 25,
    "g": 141,
    "b": 39
  },
  "hsl": {
    "h": 127.241,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56213,
    "c": 0.17031,
    "h": 144.2
  },
  "luminance": 0.19403
}

Semantic roles & 50–950 ramp

primary
#198D27
secondary
#BF43B0
accent
#3BD7ED
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081106
muted
#7B807A

Preview Lab

Preview with #198D27

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

Preview Lab → · Contrast checker → · Palette generator →

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