#198F2D#198F2D

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

Color values

HEX#198F2D
RGBrgb(25, 143, 45)
HSLhsl(130, 70%, 33%)
HSVhsv(130, 83%, 56%)
CMYKcmyk(82.5%, 0%, 68.5%, 43.9%)
CIE-LABlab(51.88, -51.20, 41.84)
CIE-LCHlch(51.88, 66.12, 140.74°)
OKLaboklab(56.83% -0.1381 0.0966)
OKLCHoklch(56.83% 0.169 145)
XYZxyz(10.6963, 20.0397, 5.7864)
Luminance0.2004 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198F2D #8F197B
analogous
#408F19 #198F2D #198F68
triadic
#198F2D #2D198F #8F2D19
tetradic
#198F2D #19408F #8F197B #8F6819
square
#198F2D #19408F #8F197B #8F6819
split-complementary
#198F2D #68198F #8F1940
monochromatic
#07270C #105B1D #198F2D #22C33D #44DE5E

Accessibility & contrast

On white

4.19
#198F2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##198F2D#FFFFFF#000000##000000
##198F2D1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#918120
Deuteranopia (green-blind)
#857836
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #198f2d;
/* rgb */ color: rgb(25, 143, 45);
/* oklch */ color: oklch(56.8% 0.169 145.0);
Tailwind
colors: {
  custom: {
    50: '#6db16b',
    500: '#198f2d',
    950: '#000000',
  },
}
SCSS
$custom: #198f2d;
$custom-light: #6db16b;
$custom-dark: #000000;
JSON
{
  "hex": "#198f2d",
  "rgb": {
    "r": 25,
    "g": 143,
    "b": 45
  },
  "hsl": {
    "h": 130.169,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56834,
    "c": 0.16851,
    "h": 145
  },
  "luminance": 0.20041
}

Semantic roles & 50–950 ramp

primary
#198F2D
secondary
#BF44AB
accent
#3BCFED
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081107
muted
#7B807A

Preview Lab

Preview with #198F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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