#198F1A#198F1A

#198F1A is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.7% C 0.180 H 142.8°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#198F1A
RGBrgb(25, 143, 26)
HSLhsl(121, 70%, 33%)
HSVhsv(121, 83%, 56%)
CMYKcmyk(82.5%, 0%, 81.8%, 43.9%)
CIE-LABlab(51.75, -52.82, 48.84)
CIE-LCHlch(51.75, 71.94, 137.24°)
OKLaboklab(56.68% -0.1433 0.1087)
OKLCHoklch(56.68% 0.18 142.8)
XYZxyz(10.4092, 19.9249, 4.2744)
Luminance0.1993 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198F1A #8F198E
analogous
#538F19 #198F1A #198F55
triadic
#198F1A #1A198F #8F1A19
tetradic
#198F1A #19538F #8F198E #8F5519
square
#198F1A #19538F #8F198E #8F5519
split-complementary
#198F1A #55198F #8F1953
monochromatic
#072707 #105B11 #198F1A #22C323 #44DE45

Accessibility & contrast

On white

4.21
#198F1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#198F1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #198F1A
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198F1A#FFFFFF#000000##000000
##198F1A1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#867828
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #198f1a;
/* rgb */ color: rgb(25, 143, 26);
/* oklch */ color: oklch(56.7% 0.180 142.8);
Tailwind
colors: {
  custom: {
    50: '#6eb161',
    500: '#198f1a',
    950: '#000000',
  },
}
SCSS
$custom: #198f1a;
$custom-light: #6eb161;
$custom-dark: #000000;
JSON
{
  "hex": "#198f1a",
  "rgb": {
    "r": 25,
    "g": 143,
    "b": 26
  },
  "hsl": {
    "h": 120.508,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56685,
    "c": 0.17989,
    "h": 142.8
  },
  "luminance": 0.19926
}

Semantic roles & 50–950 ramp

primary
#198F1A
secondary
#BF44BE
accent
#3BECED
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091105
muted
#7B807A

Preview Lab

Preview with #198F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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