#198E2F#198E2F

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

Color values

HEX#198E2F
RGBrgb(25, 142, 47)
HSLhsl(131, 70%, 33%)
HSVhsv(131, 82%, 56%)
CMYKcmyk(82.4%, 0%, 66.9%, 44.3%)
CIE-LABlab(51.56, -50.64, 40.61)
CIE-LCHlch(51.56, 64.92, 141.27°)
OKLaboklab(56.57% -0.1365 0.0942)
OKLCHoklch(56.57% 0.166 145.4)
XYZxyz(10.5862, 19.7566, 5.9443)
Luminance0.1976 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198E2F #8E1978
analogous
#3D8E19 #198E2F #198E69
triadic
#198E2F #2F198E #8E2F19
tetradic
#198E2F #193D8E #8E1978 #8E6919
square
#198E2F #193D8E #8E1978 #8E6919
split-complementary
#198E2F #69198E #8E193D
monochromatic
#07260D #105A1E #198E2F #22C240 #43DE60

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##198E2F#FFFFFF#000000##000000
##198E2F1.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)
#908023
Deuteranopia (green-blind)
#847738
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #198e2f;
/* rgb */ color: rgb(25, 142, 47);
/* oklch */ color: oklch(56.6% 0.166 145.4);
Tailwind
colors: {
  custom: {
    50: '#6db06c',
    500: '#198e2f',
    950: '#000000',
  },
}
SCSS
$custom: #198e2f;
$custom-light: #6db06c;
$custom-dark: #000000;
JSON
{
  "hex": "#198e2f",
  "rgb": {
    "r": 25,
    "g": 142,
    "b": 47
  },
  "hsl": {
    "h": 131.282,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56573,
    "c": 0.16586,
    "h": 145.4
  },
  "luminance": 0.19758
}

Semantic roles & 50–950 ramp

primary
#198E2F
secondary
#BF44A8
accent
#3BCBED
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#081107
muted
#7B807A

Preview Lab

Preview with #198E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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