#198125#198125

#198125 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.8% C 0.158 H 144.3°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#198125
RGBrgb(25, 129, 37)
HSLhsl(127, 68%, 30%)
HSVhsv(127, 81%, 51%)
CMYKcmyk(80.6%, 0%, 71.3%, 49.4%)
CIE-LABlab(47.03, -47.33, 40.07)
CIE-LCHlch(47.03, 62.01, 139.75°)
OKLaboklab(52.78% -0.1279 0.0919)
OKLCHoklch(52.78% 0.158 144.3)
XYZxyz(8.5845, 16.0397, 4.3935)
Luminance0.1604 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198125 #811975
analogous
#418119 #198125 #198159
triadic
#198125 #251981 #812519
tetradic
#198125 #194181 #811975 #815919
square
#198125 #194181 #811975 #815919
split-complementary
#198125 #591981 #811941
monochromatic
#051A08 #0F4E16 #198125 #23B434 #3BD94E

Accessibility & contrast

On white

4.99
#198125 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#198125 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #198125
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198125#FFFFFF#000000##FFFFFF
##1981251.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837418
Deuteranopia (green-blind)
#786C2E
Tritanopia (blue-blind)
#007D6F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #198125;
/* rgb */ color: rgb(25, 129, 37);
/* oklch */ color: oklch(52.8% 0.158 144.3);
Tailwind
colors: {
  custom: {
    50: '#6aa765',
    500: '#198125',
    950: '#000000',
  },
}
SCSS
$custom: #198125;
$custom-light: #6aa765;
$custom-dark: #000000;
JSON
{
  "hex": "#198125",
  "rgb": {
    "r": 25,
    "g": 129,
    "b": 37
  },
  "hsl": {
    "h": 126.923,
    "s": 67.532,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52777,
    "c": 0.15751,
    "h": 144.3
  },
  "luminance": 0.16041
}

Semantic roles & 50–950 ramp

primary
#198125
secondary
#B541A8
accent
#3DD6EA
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #198125

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

Preview Lab → · Contrast checker → · Palette generator →

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