#198D1A#198D1A

#198D1A is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.1% C 0.178 H 142.8°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#198D1A
RGBrgb(25, 141, 26)
HSLhsl(121, 70%, 33%)
HSVhsv(121, 82%, 55%)
CMYKcmyk(82.3%, 0%, 81.6%, 44.7%)
CIE-LABlab(51.07, -52.18, 48.20)
CIE-LCHlch(51.07, 71.03, 137.27°)
OKLaboklab(56.12% -0.1416 0.1074)
OKLCHoklch(56.12% 0.178 142.8)
XYZxyz(10.1116, 19.3298, 4.1752)
Luminance0.1933 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198D1A #8D198C
analogous
#528D19 #198D1A #198D54
triadic
#198D1A #1A198D #8D1A19
tetradic
#198D1A #19528D #8D198C #8D5419
square
#198D1A #19528D #8D198C #8D5419
split-complementary
#198D1A #54198D #8D1952
monochromatic
#072507 #105910 #198D1A #22C124 #43DE44

Accessibility & contrast

On white

4.32
#198D1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#198D1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #198D1A
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198D1A#FFFFFF#000000##000000
##198D1A1.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#847628
Tritanopia (blue-blind)
#008978
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #198d1a;
/* rgb */ color: rgb(25, 141, 26);
/* oklch */ color: oklch(56.1% 0.178 142.8);
Tailwind
colors: {
  custom: {
    50: '#6eaf61',
    500: '#198d1a',
    950: '#000000',
  },
}
SCSS
$custom: #198d1a;
$custom-light: #6eaf61;
$custom-dark: #000000;
JSON
{
  "hex": "#198d1a",
  "rgb": {
    "r": 25,
    "g": 141,
    "b": 26
  },
  "hsl": {
    "h": 120.517,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56118,
    "c": 0.17771,
    "h": 142.8
  },
  "luminance": 0.19331
}

Semantic roles & 50–950 ramp

primary
#198D1A
secondary
#BF43BE
accent
#3BEBED
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081105
muted
#7B807A

Preview Lab

Preview with #198D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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