#198D1B#198D1B

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

Color values

HEX#198D1B
RGBrgb(25, 141, 27)
HSLhsl(121, 70%, 33%)
HSVhsv(121, 82%, 55%)
CMYKcmyk(82.3%, 0%, 80.9%, 44.7%)
CIE-LABlab(51.08, -52.11, 47.88)
CIE-LCHlch(51.08, 70.77, 137.42°)
OKLaboklab(56.12% -0.1414 0.1069)
OKLCHoklch(56.12% 0.177 142.9)
XYZxyz(10.1230, 19.3343, 4.2351)
Luminance0.1934 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198D1B #8D198B
analogous
#518D19 #198D1B #198D55
triadic
#198D1B #1B198D #8D1B19
tetradic
#198D1B #19518D #8D198B #8D5519
square
#198D1B #19518D #8D198B #8D5519
split-complementary
#198D1B #55198D #8D1951
monochromatic
#072507 #105911 #198D1B #22C125 #43DE45

Accessibility & contrast

On white

4.31
#198D1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##198D1B#FFFFFF#000000##000000
##198D1B1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #198d1b;
/* rgb */ color: rgb(25, 141, 27);
/* oklch */ color: oklch(56.1% 0.177 142.9);
Tailwind
colors: {
  custom: {
    50: '#6eaf61',
    500: '#198d1b',
    950: '#000000',
  },
}
SCSS
$custom: #198d1b;
$custom-light: #6eaf61;
$custom-dark: #000000;
JSON
{
  "hex": "#198d1b",
  "rgb": {
    "r": 25,
    "g": 141,
    "b": 27
  },
  "hsl": {
    "h": 121.034,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56124,
    "c": 0.17722,
    "h": 142.9
  },
  "luminance": 0.19336
}

Semantic roles & 50–950 ramp

primary
#198D1B
secondary
#BF43BC
accent
#3BEAED
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081105
muted
#7B807A

Preview Lab

Preview with #198D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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