#198531#198531

#198531 is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.0% C 0.153 H 146.2°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#198531
RGBrgb(25, 133, 49)
HSLhsl(133, 68%, 31%)
HSVhsv(133, 81%, 52%)
CMYKcmyk(81.2%, 0%, 63.2%, 47.8%)
CIE-LABlab(48.51, -47.33, 36.27)
CIE-LCHlch(48.51, 59.63, 142.54°)
OKLaboklab(54.05% -0.1274 0.0852)
OKLCHoklch(54.05% 0.153 146.2)
XYZxyz(9.3421, 17.2024, 5.7332)
Luminance0.1720 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198531 #85196D
analogous
#378519 #198531 #198567
triadic
#198531 #311985 #853119
tetradic
#198531 #193785 #85196D #856719
square
#198531 #193785 #85196D #856719
split-complementary
#198531 #671985 #851937
monochromatic
#061E0B #0F511E #198531 #23B944 #3EDB61

Accessibility & contrast

On white

4.73
#198531 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#198531 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #198531
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198531#FFFFFF#000000##FFFFFF
##1985311.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877828
Deuteranopia (green-blind)
#7B7038
Tritanopia (blue-blind)
#008273
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #198531;
/* rgb */ color: rgb(25, 133, 49);
/* oklch */ color: oklch(54.0% 0.153 146.2);
Tailwind
colors: {
  custom: {
    50: '#6aaa6c',
    500: '#198531',
    950: '#000000',
  },
}
SCSS
$custom: #198531;
$custom-light: #6aaa6c;
$custom-dark: #000000;
JSON
{
  "hex": "#198531",
  "rgb": {
    "r": 25,
    "g": 133,
    "b": 49
  },
  "hsl": {
    "h": 133.333,
    "s": 68.354,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54049,
    "c": 0.15326,
    "h": 146.2
  },
  "luminance": 0.17203
}

Semantic roles & 50–950 ramp

primary
#198531
secondary
#B9419E
accent
#3DC4EB
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081007
muted
#7A7F7A

Preview Lab

Preview with #198531

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

Preview Lab → · Contrast checker → · Palette generator →

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