#198031#198031

#198031 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.6% C 0.147 H 146.6°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#198031
RGBrgb(25, 128, 49)
HSLhsl(134, 67%, 30%)
HSVhsv(134, 80%, 50%)
CMYKcmyk(80.5%, 0%, 61.7%, 49.8%)
CIE-LABlab(46.80, -45.57, 34.29)
CIE-LCHlch(46.80, 57.03, 143.04°)
OKLaboklab(52.63% -0.1226 0.0809)
OKLCHoklch(52.63% 0.147 146.6)
XYZxyz(8.6738, 15.8657, 5.5104)
Luminance0.1587 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198031 #801968
analogous
#348019 #198031 #198065
triadic
#198031 #311980 #803119
tetradic
#198031 #193480 #801968 #806519
square
#198031 #193480 #801968 #806519
split-complementary
#198031 #651980 #801934
monochromatic
#051A0A #0F4D1D #198031 #23B345 #3BD960

Accessibility & contrast

On white

5.03
#198031 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#198031 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #198031
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198031#FFFFFF#000000##FFFFFF
##1980311.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827429
Deuteranopia (green-blind)
#766C38
Tritanopia (blue-blind)
#007D6F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #198031;
/* rgb */ color: rgb(25, 128, 49);
/* oklch */ color: oklch(52.6% 0.147 146.6);
Tailwind
colors: {
  custom: {
    50: '#69a66c',
    500: '#198031',
    950: '#000000',
  },
}
SCSS
$custom: #198031;
$custom-light: #69a66c;
$custom-dark: #000000;
JSON
{
  "hex": "#198031",
  "rgb": {
    "r": 25,
    "g": 128,
    "b": 49
  },
  "hsl": {
    "h": 133.981,
    "s": 67.32,
    "l": 30
  },
  "oklch": {
    "l": 0.52625,
    "c": 0.14694,
    "h": 146.6
  },
  "luminance": 0.15867
}

Semantic roles & 50–950 ramp

primary
#198031
secondary
#B44199
accent
#3EC2EA
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #198031

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

Preview Lab → · Contrast checker → · Palette generator →

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