#197821#197821

#197821 is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.1% C 0.149 H 143.9°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#197821
RGBrgb(25, 120, 33)
HSLhsl(125, 66%, 28%)
HSVhsv(125, 79%, 47%)
CMYKcmyk(79.2%, 0%, 72.5%, 52.9%)
CIE-LABlab(43.87, -44.64, 38.43)
CIE-LCHlch(43.87, 58.90, 139.28°)
OKLaboklab(50.14% -0.1208 0.088)
OKLCHoklch(50.14% 0.149 143.9)
XYZxyz(7.3914, 13.7486, 3.7027)
Luminance0.1375 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#197821 #781970
analogous
#407819 #197821 #197850
triadic
#197821 #211978 #782119
tetradic
#197821 #194078 #781970 #785019
square
#197821 #194078 #781970 #785019
split-complementary
#197821 #501978 #781940
monochromatic
#051907 #0E4513 #197821 #24AB2F #36D544

Accessibility & contrast

On white

5.60
#197821 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#197821 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #197821
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##197821#FFFFFF#000000##FFFFFF
##1978211.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C14
Deuteranopia (green-blind)
#70652A
Tritanopia (blue-blind)
#007567
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #197821;
/* rgb */ color: rgb(25, 120, 33);
/* oklch */ color: oklch(50.1% 0.149 143.9);
Tailwind
colors: {
  custom: {
    50: '#68a061',
    500: '#197821',
    950: '#000000',
  },
}
SCSS
$custom: #197821;
$custom-light: #68a061;
$custom-dark: #000000;
JSON
{
  "hex": "#197821",
  "rgb": {
    "r": 25,
    "g": 120,
    "b": 33
  },
  "hsl": {
    "h": 125.053,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50144,
    "c": 0.14942,
    "h": 143.9
  },
  "luminance": 0.13749
}

Semantic roles & 50–950 ramp

primary
#197821
secondary
#AD40A4
accent
#3FDAE8
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070F05
muted
#7A7E79

Preview Lab

Preview with #197821

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

Preview Lab → · Contrast checker → · Palette generator →

#197821 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva