#198126#198126

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

Color values

HEX#198126
RGBrgb(25, 129, 38)
HSLhsl(128, 68%, 30%)
HSVhsv(128, 81%, 51%)
CMYKcmyk(80.6%, 0%, 70.5%, 49.4%)
CIE-LABlab(47.03, -47.23, 39.65)
CIE-LCHlch(47.03, 61.67, 139.99°)
OKLaboklab(52.79% -0.1276 0.0912)
OKLCHoklch(52.79% 0.157 144.5)
XYZxyz(8.6004, 16.0461, 4.4773)
Luminance0.1605 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198126 #811974
analogous
#408119 #198126 #19815A
triadic
#198126 #261981 #812619
tetradic
#198126 #194081 #811974 #815A19
square
#198126 #194081 #811974 #815A19
split-complementary
#198126 #5A1981 #811940
monochromatic
#051A08 #0F4E17 #198126 #23B435 #3BD94F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##198126#FFFFFF#000000##FFFFFF
##1981261.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)
#837419
Deuteranopia (green-blind)
#786C2F
Tritanopia (blue-blind)
#007D6F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #198126;
/* rgb */ color: rgb(25, 129, 38);
/* oklch */ color: oklch(52.8% 0.157 144.5);
Tailwind
colors: {
  custom: {
    50: '#6aa765',
    500: '#198126',
    950: '#000000',
  },
}
SCSS
$custom: #198126;
$custom-light: #6aa765;
$custom-dark: #000000;
JSON
{
  "hex": "#198126",
  "rgb": {
    "r": 25,
    "g": 129,
    "b": 38
  },
  "hsl": {
    "h": 127.5,
    "s": 67.532,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52787,
    "c": 0.15681,
    "h": 144.5
  },
  "luminance": 0.16047
}

Semantic roles & 50–950 ramp

primary
#198126
secondary
#B541A6
accent
#3DD5EA
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #198126

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

Preview Lab → · Contrast checker → · Palette generator →

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