#198D21#198D21

#198D21 is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.2% C 0.174 H 143.5°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#198D21
RGBrgb(25, 141, 33)
HSLhsl(124, 70%, 33%)
HSVhsv(124, 82%, 55%)
CMYKcmyk(82.3%, 0%, 76.6%, 44.7%)
CIE-LABlab(51.11, -51.67, 45.86)
CIE-LCHlch(51.11, 69.09, 138.41°)
OKLaboklab(56.16% -0.1399 0.1035)
OKLCHoklch(56.16% 0.174 143.5)
XYZxyz(10.1996, 19.3650, 4.6388)
Luminance0.1937 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#198D21 #8D1985
analogous
#4B8D19 #198D21 #198D5B
triadic
#198D21 #21198D #8D2119
tetradic
#198D21 #194B8D #8D1985 #8D5B19
square
#198D21 #194B8D #8D1985 #8D5B19
split-complementary
#198D21 #5B198D #8D194B
monochromatic
#072509 #105915 #198D21 #22C12D #43DE4D

Accessibility & contrast

On white

4.31
#198D21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#198D21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #198D21
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##198D21#FFFFFF#000000##000000
##198D211.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F0A
Deuteranopia (green-blind)
#84762D
Tritanopia (blue-blind)
#008978
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #198d21;
/* rgb */ color: rgb(25, 141, 33);
/* oklch */ color: oklch(56.2% 0.174 143.5);
Tailwind
colors: {
  custom: {
    50: '#6daf64',
    500: '#198d21',
    950: '#000000',
  },
}
SCSS
$custom: #198d21;
$custom-light: #6daf64;
$custom-dark: #000000;
JSON
{
  "hex": "#198d21",
  "rgb": {
    "r": 25,
    "g": 141,
    "b": 33
  },
  "hsl": {
    "h": 124.138,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56164,
    "c": 0.17401,
    "h": 143.5
  },
  "luminance": 0.19366
}

Semantic roles & 50–950 ramp

primary
#198D21
secondary
#BF43B6
accent
#3BE0ED
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081106
muted
#7B807A

Preview Lab

Preview with #198D21

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

Preview Lab → · Contrast checker → · Palette generator →

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