#198431#198431

#198431 is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.8% C 0.152 H 146.3°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#198431
RGBrgb(25, 132, 49)
HSLhsl(133, 68%, 31%)
HSVhsv(133, 81%, 52%)
CMYKcmyk(81.1%, 0%, 62.9%, 48.2%)
CIE-LABlab(48.17, -46.98, 35.88)
CIE-LCHlch(48.17, 59.11, 142.63°)
OKLaboklab(53.76% -0.1265 0.0843)
OKLCHoklch(53.76% 0.152 146.3)
XYZxyz(9.2059, 16.9298, 5.6877)
Luminance0.1693 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198431 #84196C
analogous
#368419 #198431 #198466
triadic
#198431 #311984 #843119
tetradic
#198431 #193684 #84196C #846619
square
#198431 #193684 #84196C #846619
split-complementary
#198431 #661984 #841936
monochromatic
#061D0B #0F511E #198431 #23B744 #3DDA60

Accessibility & contrast

On white

4.79
#198431 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#198431 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #198431
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198431#FFFFFF#000000##FFFFFF
##1984311.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867728
Deuteranopia (green-blind)
#7A6F38
Tritanopia (blue-blind)
#008172
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #198431;
/* rgb */ color: rgb(25, 132, 49);
/* oklch */ color: oklch(53.8% 0.152 146.3);
Tailwind
colors: {
  custom: {
    50: '#6aa96c',
    500: '#198431',
    950: '#000000',
  },
}
SCSS
$custom: #198431;
$custom-light: #6aa96c;
$custom-dark: #000000;
JSON
{
  "hex": "#198431",
  "rgb": {
    "r": 25,
    "g": 132,
    "b": 49
  },
  "hsl": {
    "h": 133.458,
    "s": 68.153,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53765,
    "c": 0.15201,
    "h": 146.3
  },
  "luminance": 0.16931
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #198431

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

Preview Lab → · Contrast checker → · Palette generator →

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