#198F26#198F26

#198F26 is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.8% C 0.173 H 144.1°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#198F26
RGBrgb(25, 143, 38)
HSLhsl(127, 70%, 33%)
HSVhsv(127, 83%, 56%)
CMYKcmyk(82.5%, 0%, 73.4%, 43.9%)
CIE-LABlab(51.83, -51.89, 44.68)
CIE-LCHlch(51.83, 68.48, 139.27°)
OKLaboklab(56.77% -0.1403 0.1017)
OKLCHoklch(56.77% 0.173 144.1)
XYZxyz(10.5725, 19.9902, 5.1346)
Luminance0.1999 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198F26 #8F1982
analogous
#478F19 #198F26 #198F61
triadic
#198F26 #26198F #8F2619
tetradic
#198F26 #19478F #8F1982 #8F6119
square
#198F26 #19478F #8F1982 #8F6119
split-complementary
#198F26 #61198F #8F1947
monochromatic
#07270A #105B18 #198F26 #22C334 #44DE55

Accessibility & contrast

On white

4.20
#198F26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#198F26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #198F26
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198F26#FFFFFF#000000##000000
##198F261.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#928114
Deuteranopia (green-blind)
#857831
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #198f26;
/* rgb */ color: rgb(25, 143, 38);
/* oklch */ color: oklch(56.8% 0.173 144.1);
Tailwind
colors: {
  custom: {
    50: '#6eb167',
    500: '#198f26',
    950: '#000000',
  },
}
SCSS
$custom: #198f26;
$custom-light: #6eb167;
$custom-dark: #000000;
JSON
{
  "hex": "#198f26",
  "rgb": {
    "r": 25,
    "g": 143,
    "b": 38
  },
  "hsl": {
    "h": 126.61,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5677,
    "c": 0.17327,
    "h": 144.1
  },
  "luminance": 0.19992
}

Semantic roles & 50–950 ramp

primary
#198F26
secondary
#BF44B2
accent
#3BD9ED
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081106
muted
#7B807A

Preview Lab

Preview with #198F26

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

Preview Lab → · Contrast checker → · Palette generator →

#198F26 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva