#198F1D#198F1D

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

Color values

HEX#198F1D
RGBrgb(25, 143, 29)
HSLhsl(122, 70%, 33%)
HSVhsv(122, 83%, 56%)
CMYKcmyk(82.5%, 0%, 79.7%, 43.9%)
CIE-LABlab(51.77, -52.61, 47.90)
CIE-LCHlch(51.77, 71.15, 137.69°)
OKLaboklab(56.7% -0.1426 0.1072)
OKLCHoklch(56.7% 0.178 143.1)
XYZxyz(10.4445, 19.9390, 4.4603)
Luminance0.1994 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198F1D #8F198B
analogous
#508F19 #198F1D #198F58
triadic
#198F1D #1D198F #8F1D19
tetradic
#198F1D #19508F #8F198B #8F5819
square
#198F1D #19508F #8F198B #8F5819
split-complementary
#198F1D #58198F #8F1950
monochromatic
#072708 #105B12 #198F1D #22C328 #44DE49

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##198F1D#FFFFFF#000000##000000
##198F1D1.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)
#86782A
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #198f1d;
/* rgb */ color: rgb(25, 143, 29);
/* oklch */ color: oklch(56.7% 0.178 143.1);
Tailwind
colors: {
  custom: {
    50: '#6eb162',
    500: '#198f1d',
    950: '#000000',
  },
}
SCSS
$custom: #198f1d;
$custom-light: #6eb162;
$custom-dark: #000000;
JSON
{
  "hex": "#198f1d",
  "rgb": {
    "r": 25,
    "g": 143,
    "b": 29
  },
  "hsl": {
    "h": 122.034,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56703,
    "c": 0.17843,
    "h": 143.1
  },
  "luminance": 0.1994
}

Semantic roles & 50–950 ramp

primary
#198F1D
secondary
#BF44BB
accent
#3BE7ED
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #198F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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