#198631#198631

#198631 is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.3% C 0.154 H 146.2°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#198631
RGBrgb(25, 134, 49)
HSLhsl(133, 69%, 31%)
HSVhsv(133, 81%, 53%)
CMYKcmyk(81.3%, 0%, 63.4%, 47.5%)
CIE-LABlab(48.86, -47.68, 36.66)
CIE-LCHlch(48.86, 60.14, 142.44°)
OKLaboklab(54.33% -0.1283 0.086)
OKLCHoklch(54.33% 0.155 146.2)
XYZxyz(9.4797, 17.4775, 5.7790)
Luminance0.1748 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198631 #86196E
analogous
#378619 #198631 #198667
triadic
#198631 #311986 #863119
tetradic
#198631 #193786 #86196E #866719
square
#198631 #193786 #86196E #866719
split-complementary
#198631 #671986 #861937
monochromatic
#061F0B #0F521E #198631 #23BA44 #3EDB61

Accessibility & contrast

On white

4.67
#198631 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#198631 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #198631
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198631#FFFFFF#000000##FFFFFF
##1986311.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887928
Deuteranopia (green-blind)
#7C7138
Tritanopia (blue-blind)
#008374
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #198631;
/* rgb */ color: rgb(25, 134, 49);
/* oklch */ color: oklch(54.3% 0.154 146.2);
Tailwind
colors: {
  custom: {
    50: '#6baa6c',
    500: '#198631',
    950: '#000000',
  },
}
SCSS
$custom: #198631;
$custom-light: #6baa6c;
$custom-dark: #000000;
JSON
{
  "hex": "#198631",
  "rgb": {
    "r": 25,
    "g": 134,
    "b": 49
  },
  "hsl": {
    "h": 133.211,
    "s": 68.553,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54333,
    "c": 0.1545,
    "h": 146.2
  },
  "luminance": 0.17479
}

Semantic roles & 50–950 ramp

primary
#198631
secondary
#BA419F
accent
#3CC5EB
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#081007
muted
#7A7F7A

Preview Lab

Preview with #198631

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

Preview Lab → · Contrast checker → · Palette generator →

#198631 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva