#198E2D#198E2D

#198E2D is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.6% C 0.167 H 145.1°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#198E2D
RGBrgb(25, 142, 45)
HSLhsl(130, 70%, 33%)
HSVhsv(130, 82%, 56%)
CMYKcmyk(82.4%, 0%, 68.3%, 44.3%)
CIE-LABlab(51.54, -50.86, 41.48)
CIE-LCHlch(51.54, 65.63, 140.81°)
OKLaboklab(56.55% -0.1372 0.0958)
OKLCHoklch(56.55% 0.167 145.1)
XYZxyz(10.5468, 19.7408, 5.7366)
Luminance0.1974 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198E2D #8E197A
analogous
#408E19 #198E2D #198E67
triadic
#198E2D #2D198E #8E2D19
tetradic
#198E2D #19408E #8E197A #8E6719
square
#198E2D #19408E #8E197A #8E6719
split-complementary
#198E2D #67198E #8E1940
monochromatic
#07260C #105A1D #198E2D #22C23D #43DE5E

Accessibility & contrast

On white

4.24
#198E2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#198E2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #198E2D
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198E2D#FFFFFF#000000##000000
##198E2D1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#908020
Deuteranopia (green-blind)
#847736
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #198e2d;
/* rgb */ color: rgb(25, 142, 45);
/* oklch */ color: oklch(56.6% 0.167 145.1);
Tailwind
colors: {
  custom: {
    50: '#6db06b',
    500: '#198e2d',
    950: '#000000',
  },
}
SCSS
$custom: #198e2d;
$custom-light: #6db06b;
$custom-dark: #000000;
JSON
{
  "hex": "#198e2d",
  "rgb": {
    "r": 25,
    "g": 142,
    "b": 45
  },
  "hsl": {
    "h": 130.256,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56553,
    "c": 0.16733,
    "h": 145.1
  },
  "luminance": 0.19742
}

Semantic roles & 50–950 ramp

primary
#198E2D
secondary
#BF44AA
accent
#3BCEED
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081107
muted
#7B807A

Preview Lab

Preview with #198E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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