#198731#198731

#198731 is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.6% C 0.156 H 146.1°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#198731
RGBrgb(25, 135, 49)
HSLhsl(133, 69%, 31%)
HSVhsv(133, 81%, 53%)
CMYKcmyk(81.5%, 0%, 63.7%, 47.1%)
CIE-LABlab(49.20, -48.02, 37.05)
CIE-LCHlch(49.20, 60.65, 142.35°)
OKLaboklab(54.62% -0.1293 0.0869)
OKLCHoklch(54.62% 0.156 146.1)
XYZxyz(9.6185, 17.7552, 5.8253)
Luminance0.1776 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198731 #87196F
analogous
#388719 #198731 #198768
triadic
#198731 #311987 #873119
tetradic
#198731 #193887 #87196F #876819
square
#198731 #193887 #87196F #876819
split-complementary
#198731 #681987 #871938
monochromatic
#06200C #0F531E #198731 #23BB44 #3FDB61

Accessibility & contrast

On white

4.61
#198731 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #198731
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198731#FFFFFF#000000##FFFFFF
##1987311.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #198731;
/* rgb */ color: rgb(25, 135, 49);
/* oklch */ color: oklch(54.6% 0.156 146.1);
Tailwind
colors: {
  custom: {
    50: '#6bab6c',
    500: '#198731',
    950: '#000000',
  },
}
SCSS
$custom: #198731;
$custom-light: #6bab6c;
$custom-dark: #000000;
JSON
{
  "hex": "#198731",
  "rgb": {
    "r": 25,
    "g": 135,
    "b": 49
  },
  "hsl": {
    "h": 133.091,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54617,
    "c": 0.15575,
    "h": 146.1
  },
  "luminance": 0.17756
}

Semantic roles & 50–950 ramp

primary
#198731
secondary
#BA41A0
accent
#3CC5EC
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#081007
muted
#7A7F7A

Preview Lab

Preview with #198731

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

Preview Lab → · Contrast checker → · Palette generator →

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