#198E1F#198E1F

#198E1F is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.4% C 0.176 H 143.3°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#198E1F
RGBrgb(25, 142, 31)
HSLhsl(123, 70%, 33%)
HSVhsv(123, 82%, 56%)
CMYKcmyk(82.4%, 0%, 78.2%, 44.3%)
CIE-LABlab(51.44, -52.15, 46.90)
CIE-LCHlch(51.44, 70.14, 138.04°)
OKLaboklab(56.43% -0.1413 0.1054)
OKLCHoklch(56.43% 0.176 143.3)
XYZxyz(10.3205, 19.6503, 4.5450)
Luminance0.1965 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198E1F #8E1988
analogous
#4D8E19 #198E1F #198E59
triadic
#198E1F #1F198E #8E1F19
tetradic
#198E1F #194D8E #8E1988 #8E5919
square
#198E1F #194D8E #8E1988 #8E5919
split-complementary
#198E1F #59198E #8E194D
monochromatic
#072608 #105A14 #198E1F #22C22A #43DE4B

Accessibility & contrast

On white

4.26
#198E1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#198E1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #198E1F
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198E1F#FFFFFF#000000##000000
##198E1F1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#918004
Deuteranopia (green-blind)
#85772C
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #198e1f;
/* rgb */ color: rgb(25, 142, 31);
/* oklch */ color: oklch(56.4% 0.176 143.3);
Tailwind
colors: {
  custom: {
    50: '#6eb063',
    500: '#198e1f',
    950: '#000000',
  },
}
SCSS
$custom: #198e1f;
$custom-light: #6eb063;
$custom-dark: #000000;
JSON
{
  "hex": "#198e1f",
  "rgb": {
    "r": 25,
    "g": 142,
    "b": 31
  },
  "hsl": {
    "h": 123.077,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56433,
    "c": 0.17625,
    "h": 143.3
  },
  "luminance": 0.19652
}

Semantic roles & 50–950 ramp

primary
#198E1F
secondary
#BF44B9
accent
#3BE4ED
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081106
muted
#7B807A

Preview Lab

Preview with #198E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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