#198E21#198E21

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

Color values

HEX#198E21
RGBrgb(25, 142, 33)
HSLhsl(124, 70%, 33%)
HSVhsv(124, 82%, 56%)
CMYKcmyk(82.4%, 0%, 76.8%, 44.3%)
CIE-LABlab(51.45, -51.99, 46.20)
CIE-LCHlch(51.45, 69.55, 138.38°)
OKLaboklab(56.45% -0.1408 0.1042)
OKLCHoklch(56.45% 0.175 143.5)
XYZxyz(10.3477, 19.6612, 4.6882)
Luminance0.1966 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198E21 #8E1986
analogous
#4B8E19 #198E21 #198E5C
triadic
#198E21 #21198E #8E2119
tetradic
#198E21 #194B8E #8E1986 #8E5C19
square
#198E21 #194B8E #8E1986 #8E5C19
split-complementary
#198E21 #5C198E #8E194B
monochromatic
#072609 #105A15 #198E21 #22C22D #43DE4E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##198E21#FFFFFF#000000##000000
##198E211.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)
#91800A
Deuteranopia (green-blind)
#85772D
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #198e21;
/* rgb */ color: rgb(25, 142, 33);
/* oklch */ color: oklch(56.4% 0.175 143.5);
Tailwind
colors: {
  custom: {
    50: '#6eb064',
    500: '#198e21',
    950: '#000000',
  },
}
SCSS
$custom: #198e21;
$custom-light: #6eb064;
$custom-dark: #000000;
JSON
{
  "hex": "#198e21",
  "rgb": {
    "r": 25,
    "g": 142,
    "b": 33
  },
  "hsl": {
    "h": 124.103,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56448,
    "c": 0.17514,
    "h": 143.5
  },
  "luminance": 0.19662
}

Semantic roles & 50–950 ramp

primary
#198E21
secondary
#BF44B7
accent
#3BE1ED
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081106
muted
#7B807A

Preview Lab

Preview with #198E21

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

Preview Lab → · Contrast checker → · Palette generator →

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