#198730#198730

#198730 is a mid, vivid green. Relative luminance 0.177; OKLCH L 54.6% C 0.157 H 145.9°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#198730
RGBrgb(25, 135, 48)
HSLhsl(133, 69%, 31%)
HSVhsv(133, 81%, 53%)
CMYKcmyk(81.5%, 0%, 64.4%, 47.1%)
CIE-LABlab(49.19, -48.15, 37.51)
CIE-LCHlch(49.19, 61.03, 142.08°)
OKLaboklab(54.61% -0.1297 0.0877)
OKLCHoklch(54.61% 0.157 145.9)
XYZxyz(9.5977, 17.7469, 5.7154)
Luminance0.1775 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198730 #871970
analogous
#398719 #198730 #198767
triadic
#198730 #301987 #873019
tetradic
#198730 #193987 #871970 #876719
square
#198730 #193987 #871970 #876719
split-complementary
#198730 #671987 #871939
monochromatic
#06200B #0F531E #198730 #23BB42 #3FDB60

Accessibility & contrast

On white

4.62
#198730 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#198730 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #198730
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198730#FFFFFF#000000##FFFFFF
##1987301.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897A26
Deuteranopia (green-blind)
#7D7238
Tritanopia (blue-blind)
#008475
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #198730;
/* rgb */ color: rgb(25, 135, 48);
/* oklch */ color: oklch(54.6% 0.157 145.9);
Tailwind
colors: {
  custom: {
    50: '#6bab6c',
    500: '#198730',
    950: '#000000',
  },
}
SCSS
$custom: #198730;
$custom-light: #6bab6c;
$custom-dark: #000000;
JSON
{
  "hex": "#198730",
  "rgb": {
    "r": 25,
    "g": 135,
    "b": 48
  },
  "hsl": {
    "h": 132.545,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54605,
    "c": 0.15656,
    "h": 145.9
  },
  "luminance": 0.17748
}

Semantic roles & 50–950 ramp

primary
#198730
secondary
#BA41A1
accent
#3CC7EC
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081007
muted
#7A7F7A

Preview Lab

Preview with #198730

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

Preview Lab → · Contrast checker → · Palette generator →

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