#198131#198131

#198131 is a mid, vivid green. Relative luminance 0.161; OKLCH L 52.9% C 0.148 H 146.5°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#198131
RGBrgb(25, 129, 49)
HSLhsl(134, 68%, 30%)
HSVhsv(134, 81%, 51%)
CMYKcmyk(80.6%, 0%, 62%, 49.4%)
CIE-LABlab(47.14, -45.93, 34.69)
CIE-LCHlch(47.14, 57.56, 142.93°)
OKLaboklab(52.91% -0.1236 0.0818)
OKLCHoklch(52.91% 0.148 146.5)
XYZxyz(8.8049, 16.1279, 5.5541)
Luminance0.1613 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198131 #811969
analogous
#358119 #198131 #198165
triadic
#198131 #311981 #813119
tetradic
#198131 #193581 #811969 #816519
square
#198131 #193581 #811969 #816519
split-complementary
#198131 #651981 #811935
monochromatic
#051A0A #0F4E1E #198131 #23B444 #3BD960

Accessibility & contrast

On white

4.97
#198131 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#198131 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #198131
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198131#FFFFFF#000000##FFFFFF
##1981311.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837529
Deuteranopia (green-blind)
#776D38
Tritanopia (blue-blind)
#007E70
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #198131;
/* rgb */ color: rgb(25, 129, 49);
/* oklch */ color: oklch(52.9% 0.148 146.5);
Tailwind
colors: {
  custom: {
    50: '#69a76c',
    500: '#198131',
    950: '#000000',
  },
}
SCSS
$custom: #198131;
$custom-light: #69a76c;
$custom-dark: #000000;
JSON
{
  "hex": "#198131",
  "rgb": {
    "r": 25,
    "g": 129,
    "b": 49
  },
  "hsl": {
    "h": 133.846,
    "s": 67.532,
    "l": 30.196
  },
  "oklch": {
    "l": 0.5291,
    "c": 0.14821,
    "h": 146.5
  },
  "luminance": 0.16129
}

Semantic roles & 50–950 ramp

primary
#198131
secondary
#B5419A
accent
#3DC2EA
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #198131

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

Preview Lab → · Contrast checker → · Palette generator →

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