#198231#198231

#198231 is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.2% C 0.149 H 146.4°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#198231
RGBrgb(25, 130, 49)
HSLhsl(134, 68%, 30%)
HSVhsv(134, 81%, 51%)
CMYKcmyk(80.8%, 0%, 62.3%, 49%)
CIE-LABlab(47.49, -46.28, 35.09)
CIE-LCHlch(47.49, 58.08, 142.83°)
OKLaboklab(53.2% -0.1246 0.0826)
OKLCHoklch(53.2% 0.149 146.4)
XYZxyz(8.9372, 16.3926, 5.5982)
Luminance0.1639 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198231 #82196A
analogous
#368219 #198231 #198265
triadic
#198231 #311982 #823119
tetradic
#198231 #193682 #82196A #826519
square
#198231 #193682 #82196A #826519
split-complementary
#198231 #651982 #821936
monochromatic
#051B0A #0F4F1E #198231 #23B544 #3CD960

Accessibility & contrast

On white

4.91
#198231 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#198231 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #198231
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198231#FFFFFF#000000##FFFFFF
##1982311.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847628
Deuteranopia (green-blind)
#786D38
Tritanopia (blue-blind)
#007F71
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #198231;
/* rgb */ color: rgb(25, 130, 49);
/* oklch */ color: oklch(53.2% 0.149 146.4);
Tailwind
colors: {
  custom: {
    50: '#69a76c',
    500: '#198231',
    950: '#000000',
  },
}
SCSS
$custom: #198231;
$custom-light: #69a76c;
$custom-dark: #000000;
JSON
{
  "hex": "#198231",
  "rgb": {
    "r": 25,
    "g": 130,
    "b": 49
  },
  "hsl": {
    "h": 133.714,
    "s": 67.742,
    "l": 30.392
  },
  "oklch": {
    "l": 0.53195,
    "c": 0.14948,
    "h": 146.4
  },
  "luminance": 0.16394
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #198231

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

Preview Lab → · Contrast checker → · Palette generator →

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