#198F2B#198F2B

#198F2B is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.8% C 0.170 H 144.7°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#198F2B
RGBrgb(25, 143, 43)
HSLhsl(129, 70%, 33%)
HSVhsv(129, 83%, 56%)
CMYKcmyk(82.5%, 0%, 69.9%, 43.9%)
CIE-LABlab(51.87, -51.41, 42.68)
CIE-LCHlch(51.87, 66.82, 140.30°)
OKLaboklab(56.82% -0.1387 0.0982)
OKLCHoklch(56.82% 0.17 144.7)
XYZxyz(10.6587, 20.0247, 5.5884)
Luminance0.2003 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198F2B #8F197D
analogous
#428F19 #198F2B #198F66
triadic
#198F2B #2B198F #8F2B19
tetradic
#198F2B #19428F #8F197D #8F6619
square
#198F2B #19428F #8F197D #8F6619
split-complementary
#198F2B #66198F #8F1942
monochromatic
#07270C #105B1B #198F2B #22C33B #44DE5C

Accessibility & contrast

On white

4.20
#198F2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#198F2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #198F2B
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198F2B#FFFFFF#000000##000000
##198F2B1.004.205.015.01
#FFFFFF4.201.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#92811D
Deuteranopia (green-blind)
#857835
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #198f2b;
/* rgb */ color: rgb(25, 143, 43);
/* oklch */ color: oklch(56.8% 0.170 144.7);
Tailwind
colors: {
  custom: {
    50: '#6db16a',
    500: '#198f2b',
    950: '#000000',
  },
}
SCSS
$custom: #198f2b;
$custom-light: #6db16a;
$custom-dark: #000000;
JSON
{
  "hex": "#198f2b",
  "rgb": {
    "r": 25,
    "g": 143,
    "b": 43
  },
  "hsl": {
    "h": 129.153,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56815,
    "c": 0.16994,
    "h": 144.7
  },
  "luminance": 0.20026
}

Semantic roles & 50–950 ramp

primary
#198F2B
secondary
#BF44AD
accent
#3BD2ED
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081107
muted
#7B807A

Preview Lab

Preview with #198F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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