#198E1B#198E1B

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

Color values

HEX#198E1B
RGBrgb(25, 142, 27)
HSLhsl(121, 70%, 33%)
HSVhsv(121, 82%, 56%)
CMYKcmyk(82.4%, 0%, 81%, 44.3%)
CIE-LABlab(51.42, -52.43, 48.21)
CIE-LCHlch(51.42, 71.23, 137.40°)
OKLaboklab(56.41% -0.1422 0.1076)
OKLCHoklch(56.41% 0.178 142.9)
XYZxyz(10.2711, 19.6306, 4.2845)
Luminance0.1963 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198E1B #8E198C
analogous
#518E19 #198E1B #198E56
triadic
#198E1B #1B198E #8E1B19
tetradic
#198E1B #19518E #8E198C #8E5619
square
#198E1B #19518E #8E198C #8E5619
split-complementary
#198E1B #56198E #8E1951
monochromatic
#072607 #105A11 #198E1B #22C225 #43DE46

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##198E1B#FFFFFF#000000##000000
##198E1B1.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)
#918000
Deuteranopia (green-blind)
#857729
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #198e1b;
/* rgb */ color: rgb(25, 142, 27);
/* oklch */ color: oklch(56.4% 0.178 142.9);
Tailwind
colors: {
  custom: {
    50: '#6eb061',
    500: '#198e1b',
    950: '#000000',
  },
}
SCSS
$custom: #198e1b;
$custom-light: #6eb061;
$custom-dark: #000000;
JSON
{
  "hex": "#198e1b",
  "rgb": {
    "r": 25,
    "g": 142,
    "b": 27
  },
  "hsl": {
    "h": 121.026,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56407,
    "c": 0.17832,
    "h": 142.9
  },
  "luminance": 0.19632
}

Semantic roles & 50–950 ramp

primary
#198E1B
secondary
#BF44BD
accent
#3BEAED
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081105
muted
#7B807A

Preview Lab

Preview with #198E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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