#198F1B#198F1B

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

Color values

HEX#198F1B
RGBrgb(25, 143, 27)
HSLhsl(121, 70%, 33%)
HSVhsv(121, 83%, 56%)
CMYKcmyk(82.5%, 0%, 81.1%, 43.9%)
CIE-LABlab(51.76, -52.75, 48.53)
CIE-LCHlch(51.76, 71.68, 137.38°)
OKLaboklab(56.69% -0.1431 0.1082)
OKLCHoklch(56.69% 0.179 142.9)
XYZxyz(10.4205, 19.9295, 4.3343)
Luminance0.1993 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198F1B #8F198D
analogous
#528F19 #198F1B #198F56
triadic
#198F1B #1B198F #8F1B19
tetradic
#198F1B #19528F #8F198D #8F5619
square
#198F1B #19528F #8F198D #8F5619
split-complementary
#198F1B #56198F #8F1952
monochromatic
#072707 #105B11 #198F1B #22C325 #44DE47

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##198F1B#FFFFFF#000000##000000
##198F1B1.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)
#867829
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #198f1b;
/* rgb */ color: rgb(25, 143, 27);
/* oklch */ color: oklch(56.7% 0.179 142.9);
Tailwind
colors: {
  custom: {
    50: '#6eb162',
    500: '#198f1b',
    950: '#000000',
  },
}
SCSS
$custom: #198f1b;
$custom-light: #6eb162;
$custom-dark: #000000;
JSON
{
  "hex": "#198f1b",
  "rgb": {
    "r": 25,
    "g": 143,
    "b": 27
  },
  "hsl": {
    "h": 121.017,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56691,
    "c": 0.17941,
    "h": 142.9
  },
  "luminance": 0.19931
}

Semantic roles & 50–950 ramp

primary
#198F1B
secondary
#BF44BD
accent
#3BEAED
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091105
muted
#7B807A

Preview Lab

Preview with #198F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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