#198331#198331

#198331 is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.5% C 0.151 H 146.4°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#198331
RGBrgb(25, 131, 49)
HSLhsl(134, 68%, 31%)
HSVhsv(134, 81%, 51%)
CMYKcmyk(80.9%, 0%, 62.6%, 48.6%)
CIE-LABlab(47.83, -46.63, 35.48)
CIE-LCHlch(47.83, 58.60, 142.73°)
OKLaboklab(53.48% -0.1255 0.0835)
OKLCHoklch(53.48% 0.151 146.4)
XYZxyz(9.0709, 16.6599, 5.6428)
Luminance0.1666 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198331 #83196B
analogous
#368319 #198331 #198366
triadic
#198331 #311983 #833119
tetradic
#198331 #193683 #83196B #836619
square
#198331 #193683 #83196B #836619
split-complementary
#198331 #661983 #831936
monochromatic
#051C0B #0F501E #198331 #23B644 #3DDA60

Accessibility & contrast

On white

4.85
#198331 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#198331 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #198331
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198331#FFFFFF#000000##FFFFFF
##1983311.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857628
Deuteranopia (green-blind)
#796E38
Tritanopia (blue-blind)
#008071
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #198331;
/* rgb */ color: rgb(25, 131, 49);
/* oklch */ color: oklch(53.5% 0.151 146.4);
Tailwind
colors: {
  custom: {
    50: '#6aa86c',
    500: '#198331',
    950: '#000000',
  },
}
SCSS
$custom: #198331;
$custom-light: #6aa86c;
$custom-dark: #000000;
JSON
{
  "hex": "#198331",
  "rgb": {
    "r": 25,
    "g": 131,
    "b": 49
  },
  "hsl": {
    "h": 133.585,
    "s": 67.949,
    "l": 30.588
  },
  "oklch": {
    "l": 0.5348,
    "c": 0.15075,
    "h": 146.4
  },
  "luminance": 0.16661
}

Semantic roles & 50–950 ramp

primary
#198331
secondary
#B7419C
accent
#3DC3EB
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#071007
muted
#7A7F7A

Preview Lab

Preview with #198331

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

Preview Lab → · Contrast checker → · Palette generator →

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